public class CacheFileDescription extends FileDescription
Base class for cached file description.
Constructor and Description |
---|
CacheFileDescription(String guid,
int cacheFileType)
Initializes a new instance of the
CacheFileDescription class. |
CacheFileDescription(String guid,
String name,
int cacheFileType)
Initializes a new instance of the
CacheFileDescription class. |
Modifier and Type | Method and Description |
---|---|
int |
getCacheFileType()
The cached file type.
|
void |
setCacheFileType(int value)
The cached file type.
|
getBaseName, getDocType, getDocumentType, getDocumentTypeFormat, getExtension, getFileType, getGuid, getLastModificationDate, getLastModificationDateInternal, getName, getSize, isDirectory, setDirectory, setGuid, setLastModificationDate, setLastModificationDateInternal, setName, setSize
public CacheFileDescription(String guid, String name, int cacheFileType)
Initializes a new instance of the CacheFileDescription
class.
guid
- The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt,
relative path e.g document.txt, url e.g. http://site.com/document.txt.name
- File name with extensioncacheFileType
- The cached file typepublic CacheFileDescription(String guid, int cacheFileType)
Initializes a new instance of the CacheFileDescription
class.
guid
- The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt,
relative path e.g document.txt, url e.g. http://site.com/document.txt.cacheFileType
- The cached file typeCopyright © 2018. All rights reserved.