public class DefaultStoredFileObject extends DefaultFileObject implements StoredFileObject
| Constructor and Description |
|---|
DefaultStoredFileObject() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultStoredFileObject |
from(FileObject fileObject) |
static DefaultStoredFileObject |
from(StoreFileRequest request) |
S3ObjectProxy |
getImplementation() |
String |
getProviderName() |
void |
setImplementation(S3ObjectProxy s3Object) |
void |
setProviderName(String providerName) |
String |
toString() |
void |
writeTo(OutputStream outputStream,
int bufferSize) |
getAttachedId, getAttributes, getContentType, getFileUrl, getOriginalFilename, getPrettyFilename, getSize, getStoredFilename, getUploadedAt, getUploadedBy, setAttachedId, setAttributes, setContentType, setFileUrl, setOriginalFilename, setPrettyFilename, setSize, setStoredFilename, setUploadedAt, setUploadedByclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttachedId, getAttributes, getContentType, getFileUrl, getOriginalFilename, getPrettyFilename, getSize, getStoredFilename, getUploadedAt, getUploadedBypublic static DefaultStoredFileObject from(StoreFileRequest request)
public static DefaultStoredFileObject from(FileObject fileObject)
public String getProviderName()
getProviderName in interface StoredFileObjectpublic void setProviderName(String providerName)
public S3ObjectProxy getImplementation()
getImplementation in interface StoredFileObjectpublic void setImplementation(S3ObjectProxy s3Object)
public void writeTo(OutputStream outputStream, int bufferSize) throws IOException
writeTo in interface StoredFileObjectIOExceptionpublic String toString()
toString in class DefaultFileObjectCopyright © 2019. All rights reserved.