public class BlobStorageResource
extends org.springframework.core.io.AbstractResource
WritableResource for reading and writing objects in Azure
StorageAccount blob. An instance of this class represents a handle to a blob.| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
org.springframework.core.io.Resource |
createRelative(String relativePath) |
boolean |
exists() |
String |
getDescription() |
File |
getFile() |
String |
getFilename() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
URI |
getURI() |
URL |
getURL() |
long |
lastModified() |
equals, getFileForLastModifiedCheck, hashCode, isFile, isOpen, isReadable, readableChannel, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic OutputStream getOutputStream() throws IOException
IOExceptionpublic boolean exists()
exists in interface org.springframework.core.io.Resourceexists in class org.springframework.core.io.AbstractResourcepublic URL getURL() throws IOException
getURL in interface org.springframework.core.io.ResourcegetURL in class org.springframework.core.io.AbstractResourceIOExceptionpublic URI getURI() throws IOException
getURI in interface org.springframework.core.io.ResourcegetURI in class org.springframework.core.io.AbstractResourceIOExceptionpublic File getFile() throws IOException
getFile in interface org.springframework.core.io.ResourcegetFile in class org.springframework.core.io.AbstractResourceIOExceptionpublic long contentLength()
throws IOException
contentLength in interface org.springframework.core.io.ResourcecontentLength in class org.springframework.core.io.AbstractResourceIOExceptionpublic long lastModified()
throws IOException
lastModified in interface org.springframework.core.io.ResourcelastModified in class org.springframework.core.io.AbstractResourceIOExceptionpublic org.springframework.core.io.Resource createRelative(String relativePath) throws IOException
createRelative in interface org.springframework.core.io.ResourcecreateRelative in class org.springframework.core.io.AbstractResourceIOExceptionpublic String getFilename()
getFilename in interface org.springframework.core.io.ResourcegetFilename in class org.springframework.core.io.AbstractResourcepublic String getDescription()
public InputStream getInputStream() throws IOException
IOExceptionCopyright © 2019 Microsoft. All rights reserved.