@Deprecated public class FileStreamBlob extends FileBlob
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
inputStream
Deprecated.
|
filename, length, mimeType| Constructor and Description |
|---|
FileStreamBlob(InputStream inputStream)
Deprecated.
|
FileStreamBlob(InputStream inputStream,
String filename,
String mimeType,
long length)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
convertStreamToFileIfNeeded()
Deprecated.
|
File |
getFile()
Deprecated.
|
InputStream |
getStream()
Deprecated.
|
void |
track()
Deprecated.
|
formatLength, toStringgetContentLength, getFilename, getLength, getMimeTypeprotected final transient InputStream inputStream
public FileStreamBlob(InputStream inputStream)
public FileStreamBlob(InputStream inputStream, String filename, String mimeType, long length)
public InputStream getStream() throws IOException
getStream in interface BlobgetStream in class FileBlobIOExceptionprotected void convertStreamToFileIfNeeded()
Copyright © 2018 Nuxeo. All rights reserved.