protected abstract class JCRLocalDropboxDrive.MetadataInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
JCRLocalDropboxDrive.MetadataInfo.ParentInfo
Hierarchical parent info (without item ID in
JCRLocalDropboxDrive.MetadataInfo.ParentInfo.getId()). |
| Modifier | Constructor and Description |
|---|---|
protected |
MetadataInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract JCRLocalDropboxDrive.FileInfo |
asFile()
As file.
|
protected abstract JCRLocalDropboxDrive.FolderInfo |
asFolder()
As folder.
|
protected abstract JCRLocalDropboxDrive.ItemInfo |
asItem()
As item.
|
protected String |
getName()
Gets the name (in lower case as in SDK path).
|
protected String |
getParentPath()
Gets the parent path (in lower case as used in SDK).
|
protected String |
getParentPathDisplay()
Gets the parent path display.
|
protected abstract String |
getPath()
Gets the lower path.
|
protected abstract String |
getPathDisplay()
Gets the display path.
|
protected abstract String |
getTitle()
Gets the title displayed to users.
|
protected abstract boolean |
isDeleted()
Checks if is deleted.
|
protected abstract boolean |
isFile()
Checks if is file.
|
protected abstract boolean |
isFolder()
Checks if is folder.
|
protected abstract boolean |
isItem()
Checks if is item.
|
protected boolean |
isRoot()
Checks if is root.
|
protected JCRLocalDropboxDrive.MetadataInfo.ParentInfo |
parent()
Return a location of this item parent (but w/o item ID).
|
protected String[] |
splitPath(String path)
Split given Dropbox path on parent path and a name.
|
protected String[] splitPath(String path)
path - the pathnull if it's rootprotected final String getParentPathDisplay()
protected final String getParentPath()
protected final String getName()
getTitle().protected JCRLocalDropboxDrive.MetadataInfo.ParentInfo parent()
JCRLocalDropboxDrive.ItemInfo cannot be used for saving in local storage!JCRLocalDropboxDrive.MetadataInfo.ParentInfo instanceprotected abstract JCRLocalDropboxDrive.FileInfo asFile()
protected abstract JCRLocalDropboxDrive.FolderInfo asFolder()
protected abstract JCRLocalDropboxDrive.ItemInfo asItem()
protected final boolean isRoot()
protected abstract boolean isFolder()
protected abstract boolean isFile()
protected abstract boolean isItem()
protected abstract boolean isDeleted()
protected abstract String getTitle()
protected abstract String getPath()
protected abstract String getPathDisplay()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.