ShareFileInfo Class

  • java.lang.Object
    • com.azure.storage.file.share.models.ShareFileInfo

public final class ShareFileInfo

Contains information about a File in the storage File service.

Constructor Summary

Constructor Description
ShareFileInfo(String eTag, OffsetDateTime lastModified, Boolean isServerEncrypted, FileSmbProperties smbProperties)

Creates an instance of information about a specific Directory.

Method Summary

Modifier and Type Method and Description
String getETag()
OffsetDateTime getLastModified()
FileSmbProperties getSmbProperties()
Boolean isServerEncrypted()

Methods inherited from java.lang.Object

Constructor Details

ShareFileInfo

public ShareFileInfo(String eTag, OffsetDateTime lastModified, Boolean isServerEncrypted, FileSmbProperties smbProperties)

Creates an instance of information about a specific Directory.

Parameters:

eTag - Entity tag that corresponds to the directory.
lastModified - Last time the directory was modified.
isServerEncrypted - The value of this header is set to true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is set to false.
smbProperties - The SMB properties of the file.

Method Details

getETag

public String getETag()

Returns:

The entity tag that corresponds to the directory.

getLastModified

public OffsetDateTime getLastModified()

Returns:

The last time the share was modified.

getSmbProperties

public FileSmbProperties getSmbProperties()

Returns:

The SMB Properties of the file.

isServerEncrypted

public Boolean isServerEncrypted()

Returns:

The value of this header is true if the directory metadata is completely encrypted using the specified algorithm. Otherwise, the value is false.

Applies to