Package com.amilesend.onedrive.resource
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 com.amilesend.onedrive.resource.DriveItemFolderType
createFolder, getChildFiles, getChildFolders, getChildPackages, getChildren, move, move, move, search, update, upload, upload, upload, upload, uploadAsync, uploadAsync, uploadAsync, uploadAsync
Methods inherited from class com.amilesend.onedrive.resource.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
- Parameters:
delegate
- the drive item to wrap
-
-
Method Details
-
isRoot
public boolean isRoot()Describes if this folder is the root of the drive or not.- Returns:
true
if 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:
true
if this folder is special; else,false
.- See Also:
-
getSpecialFolder
Gets the special folder attributes. Can benull
.- Returns:
- the special folder attributes
-
toString
-