public abstract class Blob extends Object implements OperationInput
Constructor and Description |
---|
Blob(String fileName) |
Blob(String fileName,
String mimeType) |
Modifier and Type | Method and Description |
---|---|
static Blob |
fromBase64String(String fileName,
String content) |
static Blob |
fromBase64String(String fileName,
String content,
String mimeType) |
String |
getFileName() |
String |
getInputRef() |
String |
getInputType() |
int |
getLength() |
String |
getMimeType() |
abstract InputStream |
getStream() |
boolean |
isBinary() |
void |
setFileName(String fileName) |
void |
setMimeType(String mimeType) |
String |
toString() |
public Blob(String fileName)
public static Blob fromBase64String(String fileName, String content, String mimeType)
public String getMimeType()
public String getFileName()
public void setFileName(String fileName)
public void setMimeType(String mimeType)
public int getLength()
public String getInputType()
getInputType
in interface OperationInput
public String getInputRef()
getInputRef
in interface OperationInput
public boolean isBinary()
isBinary
in interface OperationInput
public abstract InputStream getStream() throws IOException
IOException
Copyright © 2011 Nuxeo SA. All Rights Reserved.