public class InfrastructureFileDescriptor
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
InfrastructureFileDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
clean(java.lang.String s)
Remove garbage from paths.
|
java.lang.String |
getDefaultDir() |
java.io.File |
getDefaultFile() |
java.lang.String |
getDefaultFullPath() |
java.lang.String |
getDescription() |
protected java.lang.String |
getDescriptionKey() |
java.lang.String |
getDirViaAcronym()
For documentation purposes, the descriptor may be created as VARIABLE/custom/path.
|
java.io.File |
getFile() |
protected java.lang.String |
getFileName() |
java.lang.String |
getFullPath() |
java.lang.String |
getFullPath(DeploymentConfiguration config)
overload version for control panel, which is saving to internal copy.
|
protected java.lang.String |
getPropertiesKey()
setup-able files have to override this
if they don't, they are read only, and set value will fail
if it is desired to write value of property, then override and use known key.
|
protected java.lang.String |
getSystemPathStubAcronym() |
java.net.URL |
getUrl() |
void |
setValue(java.lang.String value) |
void |
setValue(java.lang.String value,
DeploymentConfiguration config)
overload version for control panel, which is saving to internal copy.
|
java.lang.String |
toString() |
protected java.lang.String getPropertiesKey()
public java.io.File getFile()
public java.net.URL getUrl() throws java.net.MalformedURLException
java.net.MalformedURLException
public void setValue(java.lang.String value)
public java.lang.String getFullPath()
public void setValue(java.lang.String value, DeploymentConfiguration config)
value
- new path of fileconfig
- config where t write this value (note, usually JNLPRuntime.getConfiguration()
so you don't need it, but our config gui tool is using two sets to allow undo.public java.lang.String getFullPath(DeploymentConfiguration config)
config
- config from where to readthis value (note, usually JNLPRuntime.getConfiguration()
so you don't need it, but our config gui tool is using two sets to allow undo.public java.io.File getDefaultFile()
public java.lang.String getDefaultDir()
public java.lang.String getDefaultFullPath()
protected java.lang.String getSystemPathStubAcronym()
protected java.lang.String getFileName()
protected java.lang.String getDescriptionKey()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDirViaAcronym()
protected java.lang.String clean(java.lang.String s)
s
- string to be cleanedpublic java.lang.String getDescription()