ShareFileItem Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareFileItem
- com.
public final class ShareFileItem
Contains file or directory reference information in the storage File service.
Constructor Summary
Constructor | Description |
---|---|
ShareFileItem(String name, boolean isDirectory, Long fileSize) |
Creates an instance of file or directory reference information about a specific Share. |
ShareFileItem(String name, boolean isDirectory, String id, ShareFileItemProperties properties, EnumSet<NtfsFileAttributes> fileAttributes, String permissionKey, Long fileSize) |
Creates an instance of file or directory reference information about a specific Share. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Enum |
getFileAttributes() |
Long | getFileSize() |
String | getId() |
String | getName() |
String | getPermissionKey() |
Share |
getProperties() |
boolean | isDirectory() |
Methods inherited from java.lang.Object
Constructor Details
ShareFileItem
public ShareFileItem(String name, boolean isDirectory, Long fileSize)
Creates an instance of file or directory reference information about a specific Share.
Parameters:
null
if the reference is a directory.
ShareFileItem
public ShareFileItem(String name, boolean isDirectory, String id, ShareFileItemProperties properties, EnumSet
Creates an instance of file or directory reference information about a specific Share.
Parameters:
null
if the reference is a directory.
Method Details
getFileAttributes
public EnumSet
Returns:
getFileSize
public Long getFileSize()
Returns:
null
if the reference is a directory.getId
public String getId()
Returns:
getName
public String getName()
Returns:
getPermissionKey
public String getPermissionKey()
Returns:
getProperties
public ShareFileItemProperties getProperties()
Returns:
isDirectory
public boolean isDirectory()
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for