public class FileBlob extends Blob implements HasFile
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, toString
public InputStream getStream() throws IOException
getStream
in class Blob
IOException
public static String getMimeTypeFromExtension(String path)
Copyright © 2018 Nuxeo. All rights reserved.