|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.core.ServiceSandBox
public class ServiceSandBox
| Field Summary | |
|---|---|
static java.lang.String |
DATASHEET_NAME
|
static java.lang.String |
JAR_NAME
|
static java.lang.String |
PROPERTIES_NAME
|
| Constructor Summary | |
|---|---|
ServiceSandBox(java.lang.String path)
create a Sandbox object |
|
| Method Summary | |
|---|---|
void |
deleteAllFiles()
delete all of the files in the service sand box |
void |
deleteFile(java.lang.String file)
|
java.lang.String |
getDatasheetPath()
get the name of the ids file including path info |
UUID |
getInstrumentUUID()
|
byte[] |
getJarMD5()
Get MD5 of Jar file. |
java.lang.String |
getJarPath()
get the name of the jar file including path info |
java.lang.String |
getPath()
Get the path to the sand box. |
java.lang.String |
getPropertiesPath()
get the name of the ids file including path info |
java.util.Properties |
getServiceProperties()
|
java.lang.String[] |
listFiles()
|
void |
saveServiceProperties(java.util.Properties properties)
|
void |
storeFile(java.io.File src,
boolean overwrite)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JAR_NAME
public static final java.lang.String DATASHEET_NAME
public static final java.lang.String PROPERTIES_NAME
| Constructor Detail |
|---|
public ServiceSandBox(java.lang.String path)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public byte[] getJarMD5()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getPath()
public java.lang.String getJarPath()
public java.lang.String getDatasheetPath()
public java.lang.String getPropertiesPath()
public UUID getInstrumentUUID()
throws java.io.IOException
java.io.IOException
public java.util.Properties getServiceProperties()
throws java.io.IOException
java.io.IOException
public void saveServiceProperties(java.util.Properties properties)
throws java.io.IOException
java.io.IOException
public void storeFile(java.io.File src,
boolean overwrite)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
public java.lang.String[] listFiles()
throws java.io.IOException
java.io.IOException
public void deleteFile(java.lang.String file)
throws java.io.IOException
java.io.IOException
public void deleteAllFiles()
throws java.io.IOException
java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||