Interface StorageFile
-
- All Superinterfaces:
com.microsoft.azure.toolkit.lib.common.model.AzResource,com.microsoft.azure.toolkit.lib.common.model.AzResourceBase,com.microsoft.azure.toolkit.lib.common.model.Refreshable
- All Known Subinterfaces:
IBlobFile,IShareFile
- All Known Implementing Classes:
BlobContainer,BlobContainerDraft,BlobFile,BlobFileDraft,Share,ShareDraft,ShareFile,ShareFileDraft
public interface StorageFile extends com.microsoft.azure.toolkit.lib.common.model.AzResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStorageFile.Draft<T extends StorageFile,R>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddownload(OutputStream output)voiddownload(Path dest)ObjectgetClient()default java.time.OffsetDateTimegetCreationTime()default StorageFilegetFile(String relativePath)java.time.OffsetDateTimegetLastModified()StringgetPath()StringgetSasUrl()default longgetSize()com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<? extends StorageFile,? extends StorageFile,?>getSubFileModule()StringgetUrl()booleanisDirectory()
-
-
-
Method Detail
-
getSubFileModule
com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<? extends StorageFile,? extends StorageFile,?> getSubFileModule()
-
isDirectory
boolean isDirectory()
-
getPath
String getPath()
-
getUrl
String getUrl()
-
getSasUrl
String getSasUrl()
-
getSize
default long getSize()
-
getLastModified
@Nullable java.time.OffsetDateTime getLastModified()
-
getCreationTime
@Nullable default java.time.OffsetDateTime getCreationTime()
-
download
void download(OutputStream output)
-
download
void download(Path dest)
-
getFile
@Nullable default StorageFile getFile(String relativePath)
-
-