public abstract class File extends HierarchyNode
EMPTY, fullPath, hashCode, lastModified, lastModifier, LOG, MODIFIED_FORMAT, name, node, parentPath, path, PATH_SEPARATOR, pathLabel, ROOT_PATH_LABEL, title, url, webdavUrl| Constructor and Description |
|---|
File(Folder parent,
javax.jcr.Node node)
File instance constructor.
|
File(String parentPath,
javax.jcr.Node node)
Instantiates a new file.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSize()
Gets the size.
|
boolean |
isFolder()
Checks if is folder.
|
equals, fullPath, getFullPath, getLastModified, getLastModifier, getName, getNode, getPath, getPath, getPathLabel, getTitle, getUrl, getWebdavUrl, getWorkspace, hashCode, isFile, isFolder, nodeTitle, pathLabel, setUrl, setWebdavUrl, userLocalepublic File(Folder parent, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
parent - Foldernode - Nodejavax.jcr.RepositoryException - storage errorOutlookException - if not a file nodepublic File(String parentPath, javax.jcr.Node node) throws javax.jcr.RepositoryException, OutlookException
parentPath - the parent pathnode - the nodejavax.jcr.RepositoryException - the repository exceptionOutlookException - the outlook exceptionpublic final boolean isFolder()
isFolder in class HierarchyNodepublic long getSize()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - the repository exceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.