public class FileSpec extends DataClass
FileSource Operations.factoryCreated, factoryProperties| Constructor and Description |
|---|
FileSpec() |
FileSpec(com.google.gwt.core.client.JavaScriptObject jsObj) |
FileSpec(java.lang.String path) Constructs a FileSpec from a path. |
FileSpec(java.lang.String fileName, java.lang.String fileType, java.lang.String fileFormat) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getFileFormat() The format of the file, e.g. |
java.lang.String | getFileName() |
java.lang.String | getFileType() The type of the file, e.g. |
static FileSpec | getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
protected static com.google.gwt.core.client.JavaScriptObject | parsePath(java.lang.String path) |
FileSpec | setFileFormat(java.lang.String fileFormat) The format of the file, e.g. |
FileSpec | setFileName(java.lang.String fileName) |
FileSpec | setFileType(java.lang.String fileType) The type of the file, e.g. |
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreatedpublic FileSpec()
public FileSpec(com.google.gwt.core.client.JavaScriptObject jsObj)
public FileSpec(java.lang.String fileName,
java.lang.String fileType,
java.lang.String fileFormat) public FileSpec(java.lang.String path)
path - The path to convert.public static FileSpec getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public FileSpec setFileFormat(java.lang.String fileFormat)
fileFormat - New fileFormat value. Default value is nullFileSpec instance, for chaining setter callspublic java.lang.String getFileFormat()
public FileSpec setFileName(java.lang.String fileName)
fileName - New fileName value. Default value is nullFileSpec instance, for chaining setter callspublic java.lang.String getFileName()
public FileSpec setFileType(java.lang.String fileType)
fileType - New fileType value. Default value is nullFileSpec instance, for chaining setter callspublic java.lang.String getFileType()
protected static com.google.gwt.core.client.JavaScriptObject parsePath(java.lang.String path)