public class GFile extends ExecutionResult<java.io.File> implements TextHolder
| Modifier and Type | Field and Description |
|---|---|
protected FileFormat |
format |
protected java.io.File |
value |
QUIT, UNDEF, VOID| Constructor and Description |
|---|
GFile() |
GFile(java.io.File value) |
GFile(java.io.File value,
FileFormat format) |
| Modifier and Type | Method and Description |
|---|---|
GFile |
clone() |
FileFormat |
getFormat() |
java.lang.String |
getScriptConstantRepresentation()
Returns the value as a constant in valid script syntax.
|
java.lang.String |
getStringRepresentation()
Returns a user-readable string representation of this instance.
|
java.lang.String |
getText()
Returns the text.
|
ScriptType |
getType()
Returns the type of the result.
|
java.io.File |
getValue()
Returns the internal value.
|
void |
setFormat(FileFormat format) |
void |
setValue(java.io.File value)
Sets the internal value.
|
equals, getSign, getTypeName, isZero, toString, valueToStringisStopExecutionprotected java.io.File value
protected FileFormat format
public GFile(java.io.File value)
public GFile(java.io.File value,
FileFormat format)
public GFile()
public java.io.File getValue()
ExecutionResultgetValue in class ExecutionResult<java.io.File>public void setValue(java.io.File value)
ExecutionResultsetValue in class ExecutionResult<java.io.File>value - the new value.public FileFormat getFormat()
public void setFormat(FileFormat format)
public ScriptType getType()
ExecutionResultgetType in class ExecutionResult<java.io.File>public GFile clone()
clone in class ExecutionResult<java.io.File>public java.lang.String getText()
TextHoldergetText in interface TextHolderpublic java.lang.String getStringRepresentation()
ExecutionReturngetStringRepresentation in class ExecutionResult<java.io.File>public java.lang.String getScriptConstantRepresentation()
ExecutionReturngetScriptConstantRepresentation in class ExecutionReturn