public class Blob extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHARACTER_ENCODING_PROPERTY |
protected String |
characterEncoding |
protected String |
code |
static String |
CONTENT_TYPE_PROPERTY |
protected String |
contentType |
static String |
copyright |
static String |
CREATE_TIMESTAMP_PROPERTY |
protected DateTime |
createTimestamp |
protected String |
filename |
static String |
FILENAME_PROPERTY |
protected DateTimeFormatter |
formatter |
protected InputStream |
inputStream |
protected boolean |
propertiesLoaded |
protected long |
size |
static String |
SIZE_PROPERTY |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
boolean |
equals(Object o) |
String |
getCharacterEncoding() |
String |
getCode() |
String |
getContentType() |
DateTime |
getCreateTimestamp() |
String |
getFilename() |
InputStream |
getInputStream() |
Properties |
getMetaProperties() |
long |
getSize() |
int |
hashCode() |
boolean |
isPropertiesLoaded() |
protected void |
safeSetProperty(Properties metaProperties,
String key,
String value) |
void |
setCharacterEncoding(String characterEncoding) |
void |
setContentType(String contentType) |
void |
setCreateTimestamp(DateTime createTimestamp) |
void |
setFilename(String filename) |
void |
setInputStream(InputStream inputStream) |
void |
setMetaProperties(Properties metaProperties) |
void |
setPropertiesLoaded(boolean propertiesLoaded) |
void |
setSize(long size) |
public static final String copyright
public static final String FILENAME_PROPERTY
public static final String CONTENT_TYPE_PROPERTY
public static final String SIZE_PROPERTY
public static final String CREATE_TIMESTAMP_PROPERTY
public static final String CHARACTER_ENCODING_PROPERTY
protected final DateTimeFormatter formatter
protected final String code
protected String contentType
protected String filename
protected long size
protected DateTime createTimestamp
protected String characterEncoding
protected InputStream inputStream
protected boolean propertiesLoaded
public Blob(String code)
protected void safeSetProperty(Properties metaProperties, String key, String value)
public Properties getMetaProperties() throws IOException
IOException
public void setMetaProperties(Properties metaProperties) throws IOException
IOException
public String getCode()
public String getFilename()
public void setFilename(String filename)
public long getSize()
public void setSize(long size)
public DateTime getCreateTimestamp()
public void setCreateTimestamp(DateTime createTimestamp)
public String getContentType()
public void setContentType(String contentType)
public String getCharacterEncoding()
public void setCharacterEncoding(String characterEncoding)
public InputStream getInputStream()
public void setInputStream(InputStream inputStream)
public boolean isPropertiesLoaded()
public void setPropertiesLoaded(boolean propertiesLoaded)
public void dispose()