Class DriveFolder
java.lang.Object
com.amilesend.onedrive.resource.DriveItemType
com.amilesend.onedrive.resource.DriveItemFolderType
com.amilesend.onedrive.resource.DriveFolder
A wrapper around a
DriveItem that represents a folder.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DriveItemFolderType
createFolder, getChildFiles, getChildFolders, getChildPackages, getChildren, move, move, move, search, update, upload, upload, upload, upload, uploadAsync, uploadAsync, uploadAsync, uploadAsyncMethods inherited from class DriveItemType
addPermission, copy, copy, copy, copy, createSharingLink, delete, equals, getActivities, getCreatedBy, getCreatedDateTime, getETag, getFileSystemInfo, getId, getLastModifiedBy, getLastModifiedDateTime, getName, getPackage, getParentReference, getPermissions, getRemoteItem, getThumbnails, getVersions, hashCode, isDeleted, isFile, isFolder, isPackage, isRemote, setFileSystemInfo
-
Constructor Details
-
DriveFolder
-
-
Method Details
-
isRoot
public boolean isRoot()Describes if this folder is the root of the drive or not.- Returns:
trueif this folder is the root folder of the drive; else,false.
-
getFolderAttributes
Gets the attributes associated with this folder.- Returns:
- the folder attributes
- See Also:
-
isSpecialFolder
public boolean isSpecialFolder()Describes if this folder is a special folder.- Returns:
trueif this folder is special; else,false.- See Also:
-
getSpecialFolder
Gets the special folder attributes. Can benull.- Returns:
- the special folder attributes
-
toString
-