你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FileSmbProperties Class
- java.
lang. Object - com.
azure. storage. file. share. FileSmbProperties
- com.
public class FileSmbProperties
A class used to represent the SMB properties of a file.
Constructor Summary
Constructor | Description |
---|---|
FileSmbProperties() |
Default constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getFileChangeTime() |
Offset |
getFileCreationTime() |
String | getFileId() |
Offset |
getFileLastWriteTime() |
String | getFilePermissionKey() |
Enum |
getNtfsFileAttributes() |
String | getParentId() |
File |
setFileChangeTime(OffsetDateTime fileChangeTime)
Sets the file change time. |
File |
setFileCreationTime(OffsetDateTime fileCreationTime)
Sets the file creation time. |
File |
setFileLastWriteTime(OffsetDateTime fileLastWriteTime)
Sets the file last write time. |
File |
setFilePermissionKey(String filePermissionKey)
Sets the file permission key. |
File |
setNtfsFileAttributes(EnumSet<NtfsFileAttributes> ntfsFileAttributes)
Sets the ntfs file attributes. |
Methods inherited from java.lang.Object
Constructor Details
FileSmbProperties
public FileSmbProperties()
Default constructor
Method Details
getFileChangeTime
public OffsetDateTime getFileChangeTime()
Returns:
getFileCreationTime
public OffsetDateTime getFileCreationTime()
Returns:
getFileId
public String getFileId()
Returns:
getFileLastWriteTime
public OffsetDateTime getFileLastWriteTime()
Returns:
getFilePermissionKey
public String getFilePermissionKey()
Returns:
getNtfsFileAttributes
getParentId
public String getParentId()
Returns:
setFileChangeTime
public FileSmbProperties setFileChangeTime(OffsetDateTime fileChangeTime)
Sets the file change time.
Parameters:
Returns:
setFileCreationTime
public FileSmbProperties setFileCreationTime(OffsetDateTime fileCreationTime)
Sets the file creation time.
Parameters:
Returns:
setFileLastWriteTime
public FileSmbProperties setFileLastWriteTime(OffsetDateTime fileLastWriteTime)
Sets the file last write time.
Parameters:
Returns:
setFilePermissionKey
public FileSmbProperties setFilePermissionKey(String filePermissionKey)
Sets the file permission key.
Parameters:
Returns:
setNtfsFileAttributes
public FileSmbProperties setNtfsFileAttributes(EnumSet
Sets the ntfs file attributes.
Parameters:
Returns: