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) |
FastFile |
getImplementation() |
String |
getProviderName() |
void |
setImplementation(FastFile ossObject) |
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 FastFile getImplementation()
getImplementation in interface StoredFileObjectpublic void setImplementation(FastFile ossObject)
public void writeTo(OutputStream outputStream, int bufferSize) throws IOException
writeTo in interface StoredFileObjectIOExceptionpublic String toString()
toString in class DefaultFileObjectCopyright © 2019. All rights reserved.