ShareFileInfo Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareFileInfo
- com.
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()
Gets the entity tag that corresponds to the file. |
Offset |
getLastModified()
Gets the last time the file was modified. |
File |
getSmbProperties()
Gets the SMB Properties of the file. |
Boolean |
isServerEncrypted()
The value of this header is true if the file metadata is completely encrypted using the specified algorithm. |
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:
Method Details
getETag
public String getETag()
Gets the entity tag that corresponds to the file.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Gets the last time the file was modified.
Returns:
getSmbProperties
public FileSmbProperties getSmbProperties()
Gets the SMB Properties of the file.
Returns:
isServerEncrypted
public Boolean isServerEncrypted()
The value of this header is true if the file metadata is completely encrypted using the specified algorithm. Otherwise, the value is false.
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour