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, valueToString
isStopExecution
protected 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()
ExecutionResult
getValue
in class ExecutionResult<java.io.File>
public void setValue(java.io.File value)
ExecutionResult
setValue
in class ExecutionResult<java.io.File>
value
- the new value.public FileFormat getFormat()
public void setFormat(FileFormat format)
public ScriptType getType()
ExecutionResult
getType
in class ExecutionResult<java.io.File>
public GFile clone()
clone
in class ExecutionResult<java.io.File>
public java.lang.String getText()
TextHolder
getText
in interface TextHolder
public java.lang.String getStringRepresentation()
ExecutionReturn
getStringRepresentation
in class ExecutionResult<java.io.File>
public java.lang.String getScriptConstantRepresentation()
ExecutionReturn
getScriptConstantRepresentation
in class ExecutionReturn