public class ToopSimulatorResources extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_DISCOVERY_DATA_XML
The path for disovery-data.xml
|
static String |
CONFIG_SMS_CONF
The path for sms.conf
|
static String |
CONFIG_TOOP_SIMULATOR_CONF
The path for toop-simulator.conf
|
static String |
SIMULATOR_CONFIG_DIR
The root directory for the resources
|
| Constructor and Description |
|---|
ToopSimulatorResources() |
| Modifier and Type | Method and Description |
|---|---|
static URL |
getDiscoveryDataResURL()
Returns the
discovery-data.xml resource URL |
static URL |
getSimulatorConfResource()
Returns the
toop-simulator.conf resource URL |
static URL |
getSMSResourceURL()
Returns the
sms.conf resource URL |
static void |
transferResourcesToFileSystem()
Copy the toop-simulator.conf, sms.conf and discovery-data.xml from classpath
to the current directory, so that the user can edit them without
dealing with the jar file.
|
public static final String SIMULATOR_CONFIG_DIR
public static final String CONFIG_SMS_CONF
public static final String CONFIG_DISCOVERY_DATA_XML
public static final String CONFIG_TOOP_SIMULATOR_CONF
public static void transferResourcesToFileSystem()
public static URL getSimulatorConfResource()
toop-simulator.conf resource URLtoop-simulator.conf resource URLpublic static URL getDiscoveryDataResURL()
discovery-data.xml resource URLdiscovery-data.xml resource URLpublic static URL getSMSResourceURL()
sms.conf resource URLsms.conf resource URLCopyright © 2019–2020 toop.eu. All rights reserved.