public class FieldFileName extends Field
Retrieves the name of the current document from its storage location.
In the current implementation, uses the Document.getOriginalFileName() property to retrieve the file name. If the document was loaded from a stream or created blank, uses the name of the file that is being saved to (if known).
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIncludeFullPath()
Gets whether to include the full file path name.
|
int |
getSwitchType(java.lang.String switchName) |
void |
setIncludeFullPath(boolean value)
Sets whether to include the full file path name.
|
getDisplayResult, getEnd, getFieldCode, getFieldCode, getFormat, getLocaleId, getResult, getSeparator, getStart, getType, isDirty, isDirty, isLocked, isLocked, needStoreOldResultNodes, remove, setLocaleId, setResult, unlink, update, updatepublic boolean getIncludeFullPath()
public void setIncludeFullPath(boolean value)
throws java.lang.Exception
value - Whether to include the full file path name.java.lang.Exceptionpublic int getSwitchType(java.lang.String switchName)