public interface Blob
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FILE_EXTENSION
The default
file extension. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileExtension()
Returns the file extension for this object.
|
long |
getSize()
Returns the object size in bytes.
|
InputStream |
open()
Returns an
InputStream for obtaining the BLOB contents. |
static final String DEFAULT_FILE_EXTENSION
file extension.InputStream open() throws IOException
InputStream for obtaining the BLOB contents.InputStreamIOException - if I/O error was occurred while opening the contentslong getSize()
throws IOException
IOException - if I/O error was occurred while obtaining the object sizeString getFileExtension()
DEFAULT_FILE_EXTENSION will be returned.nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.