public abstract class AbstractBlob extends Object implements Blob
| Modifier and Type | Field and Description |
|---|---|
protected String |
filename |
protected long |
length |
protected String |
mimeType |
| Modifier | Constructor and Description |
|---|---|
|
AbstractBlob(String filename,
String mimeType)
Deprecated.
since 3.1, implementation should decide about length strategy
|
protected |
AbstractBlob(String filename,
String mimeType,
long length) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getFilename() |
int |
getLength()
Deprecated.
since 3.1, use
getContentLength() instead |
String |
getMimeType() |
protected final String filename
protected final String mimeType
protected final long length
@Deprecated public AbstractBlob(String filename, String mimeType)
public String getFilename()
getFilename in interface Blobpublic String getMimeType()
getMimeType in interface Blob@Deprecated public int getLength()
getContentLength() insteadpublic long getContentLength()
getContentLength in interface BlobCopyright © 2018 Nuxeo. All rights reserved.