public class FileBlob extends Blob implements HasFile
| Constructor and Description |
|---|
FileBlob(File file) |
FileBlob(File file,
String fileName,
String mimeType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getFile() |
int |
getLength() |
static String |
getMimeTypeFromExtension(String path) |
InputStream |
getStream() |
formatLength, fromBase64String, fromBase64String, getFileName, getInputRef, getInputType, getMimeType, isBinary, setFileName, setMimeType, toStringprotected final File file
public FileBlob(File file)
public InputStream getStream() throws IOException
getStream in class BlobIOExceptionCopyright © 2018. All rights reserved.