public class FileSpec extends DataClass
FileSource Operations.factoryCreated, factoryProperties, readOnly| 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)  | 
void | 
setFileFormat(java.lang.String fileFormat)
The format of the file, e.g. 
 | 
void | 
setFileName(java.lang.String fileName)
 | 
void | 
setFileType(java.lang.String fileType)
The type of the file, e.g. 
 | 
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getReadOnly, isFactoryCreated, logConfiguration, 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, setFactoryCreated, setReadOnlypublic 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 void setFileFormat(java.lang.String fileFormat)
fileFormat - Default value is nullpublic java.lang.String getFileFormat()
public void setFileName(java.lang.String fileName)
fileName - Default value is nullpublic java.lang.String getFileName()
public void setFileType(java.lang.String fileType)
fileType - Default value is nullpublic java.lang.String getFileType()
protected static com.google.gwt.core.client.JavaScriptObject parsePath(java.lang.String path)