Class JCRLocalDropboxDrive.FileInfo
- java.lang.Object
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.ItemInfo
-
- org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.FileInfo
-
- Enclosing class:
- JCRLocalDropboxDrive
protected class JCRLocalDropboxDrive.FileInfo extends JCRLocalDropboxDrive.ItemInfo
The Class FileInfo.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
JCRLocalDropboxDrive.MetadataInfo.ParentInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JCRLocalDropboxDrive.FileInfoasFile()As file.protected JCRLocalDropboxDrive.FolderInfoasFolder()As folder.protected DategetClientModified()Gets the client modified.protected StringgetId()Gets the id.protected StringgetModifiedBy()Gets the last modifier.protected StringgetPath()Gets the lower path.protected StringgetPathDisplay()Gets the display path.protected StringgetRev()Gets the file rev.protected DategetServerModified()Gets the server modified.protected longgetSize()Gets the size.protected StringgetTitle()Gets the title displayed to users.protected booleanisDeleted()Checks if is deleted.protected booleanisFile()Checks if is file.protected booleanisFolder()Checks if is folder.StringtoString()-
Methods inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.ItemInfo
asItem, isItem
-
Methods inherited from class org.exoplatform.clouddrive.dropbox.JCRLocalDropboxDrive.MetadataInfo
getName, getParentPath, getParentPathDisplay, isRoot, parent, splitPath
-
-
-
-
Method Detail
-
isFolder
protected boolean isFolder()
Checks if is folder.- Specified by:
isFolderin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is folder or root of the drive
-
isFile
protected boolean isFile()
Checks if is file.- Specified by:
isFilein classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is file
-
isDeleted
protected boolean isDeleted()
Checks if is deleted.- Specified by:
isDeletedin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- true, if is deleted
-
asFile
protected JCRLocalDropboxDrive.FileInfo asFile()
As file.- Specified by:
asFilein classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the file info
-
asFolder
protected JCRLocalDropboxDrive.FolderInfo asFolder()
As folder.- Specified by:
asFolderin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the folder info
-
getId
protected String getId()
Gets the id.- Specified by:
getIdin classJCRLocalDropboxDrive.ItemInfo- Returns:
- the id
-
getTitle
protected String getTitle()
Gets the title displayed to users.- Specified by:
getTitlein classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the title
-
getPath
protected String getPath()
Gets the lower path.- Specified by:
getPathin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the lower path
-
getPathDisplay
protected String getPathDisplay()
Gets the display path.- Specified by:
getPathDisplayin classJCRLocalDropboxDrive.MetadataInfo- Returns:
- the display path
-
getRev
protected String getRev()
Gets the file rev.- Returns:
- the rev
-
getSize
protected long getSize()
Gets the size.- Returns:
- the size
-
getClientModified
protected Date getClientModified()
Gets the client modified.- Returns:
- the client modified
-
getServerModified
protected Date getServerModified()
Gets the server modified.- Returns:
- the server modified
-
getModifiedBy
protected String getModifiedBy()
Gets the last modifier.- Returns:
- the last modifier
-
-