ListFileItem Interface
public interface ListFileItem
Represents an item that may be returned by a file listing operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
Cloud |
getParent()
Returns the parent for the file item. |
Cloud |
getShare()
Returns the share for the file item. |
Storage |
getStorageUri()
Returns the list of URIs for all storage locations of the file item. |
URI |
getUri()
Returns the URI for the file item. |
Method Details
getParent
public CloudFileDirectory getParent()
Returns the parent for the file item.
Returns:
A CloudFileDirectory object which represents the file item's parent.
Throws:
StorageException
- If a storage service error occurred.
URISyntaxException
- If the resource URI is invalid.
getShare
public CloudFileShare getShare()
Returns the share for the file item.
Returns:
A CloudFileShare object which represents the file item's share.
Throws:
StorageException
- If a storage service error occurred.
URISyntaxException
- If the resource URI is invalid.
getStorageUri
public StorageUri getStorageUri()
Returns the list of URIs for all storage locations of the file item.
Returns:
A
StorageUri
object which represents the file item's URI.getUri
public URI getUri()
Returns the URI for the file item.
Returns:
A
java.net.URI
object which represents the file item's URI.