AzureBasicFileAttributeView Class
- java.
lang. Object - com.
azure. storage. blob. nio. AzureBasicFileAttributeView
- com.
Implements
public final class AzureBasicFileAttributeView
implements BasicFileAttributeView
Provides support for basic file attributes.
The operations supported by this view and the attributes it reads are a strict subset of AzureBlobFileAttributeView and has the same network behavior. Therefore, while this type is offered for compliance with the NIO spec, AzureBlobFileAttributeView is generally preferred.
setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime) is not supported.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
name()
Returns the name of the attribute view: |
|
Azure |
readAttributes()
Reads the basic file attributes as a bulk operation. |
| void |
setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime)
Unsupported. |
Methods inherited from java.lang.Object
Method Details
name
public String name()
Returns the name of the attribute view: "azureBasic"
Returns:
"azureBasic"readAttributes
public AzureBasicFileAttributes readAttributes()
Reads the basic file attributes as a bulk operation.
All file attributes are read as an atomic operation with respect to other file system operations.
Returns:
Throws:
setTimes
public void setTimes(FileTime lastModifiedTime, FileTime lastAccessTime, FileTime createTime)
Unsupported.
Parameters:
Throws: