public class FileDocument extends CommonDocument
absolutePath, base64EncodeDigestMap, mimeType, name| Constructor and Description |
|---|
FileDocument(File file)
Create a FileDocument
|
FileDocument(String path)
Create a FileDocument
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
String |
getAbsolutePath() |
File |
getParentFile() |
InputStream |
openStream() |
getDigest, getMimeType, getName, save, setAbsolutePath, setMimeType, setName, toString, writeTopublic FileDocument(String path)
path - the path to the filepublic FileDocument(File file)
file - Filepublic InputStream openStream()
public boolean exists()
public File getParentFile()
public String getAbsolutePath()
getAbsolutePath in interface DSSDocumentgetAbsolutePath in class CommonDocumentCopyright © 2019. All rights reserved.