com.smartgwt.client.docs

## Interface FileSource

-     public interface FileSource

  ### FileSource Operations

  These APIs allow a `DataSource` to be used as a way to store files in a DataSource that might otherwise be stored in a filesystem on the server. They are implemented by sending requests to the server with a special `operationType`.

  FileSource operations use standardized field names: fileName, fileType, fileFormat, fileContents, fileSize and fileLastModified. These are translated on the server to native field names for the `DataSource`, determined according to the DataSource configuration for `fileNameField`, `fileTypeField`, `fileFormatField`, `fileContentsField`, `fileSizeField`, and `fileLastModifiedField`.

  See Also:
    `DataSource.getFile(com.smartgwt.client.data.FileSpec, com.smartgwt.client.callbacks.GetFileCallback)`, `DataSource.hasFile(com.smartgwt.client.data.FileSpec, com.smartgwt.client.callbacks.HasFileCallback)`, `DataSource.listFiles(com.smartgwt.client.data.Criteria, com.smartgwt.client.data.DSCallback)`, `DataSource.saveFile(com.smartgwt.client.data.FileSpec, java.lang.String)`, `DataSource.renameFile(com.smartgwt.client.data.FileSpec, com.smartgwt.client.data.FileSpec)`, `DataSource.removeFile(com.smartgwt.client.data.FileSpec)`, `FileSpec`, `DataSource.makeFileSpec(java.lang.String)`, `DataSource.fileNameField`, `DataSource.fileTypeField`, `DataSource.fileFormatField`, `DataSource.fileContentsField`