public abstract class BlobObject extends Object implements FileObject
| Constructor and Description |
|---|
BlobObject(String uri) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
abstract String |
getCommittedVersion()
Identifier of the most recent committed blob version that is read by this
BlobObject. |
abstract long |
getLength()
Returns the number of bytes in the BLOB value designated by this Blob
object.
|
String |
getName() |
abstract String[] |
getRecentVersions()
Most recent version identifiers that have committed modifications of this
blob.
|
Reader |
openReader(boolean ignoreEncodingErrors) |
Writer |
openWriter() |
String |
toString() |
URI |
toUri() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, getLastModified, openInputStream, openOutputStreampublic BlobObject(String uri)
public abstract String[] getRecentVersions() throws IOException
IOExceptionpublic abstract String getCommittedVersion() throws IOException
BlobObject. This method can be used after committing a
BlobVersion to retrieve the committed version identifier, which
can later be passed to BlobStore.openVersion(String) to reread
this version of this blob.IOExceptionpublic abstract long getLength()
throws IOException
IOExceptionpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectIOExceptionpublic String getName()
getName in interface FileObjectpublic Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader in interface FileObjectIOExceptionpublic Writer openWriter() throws IOException
openWriter in interface FileObjectIOExceptionpublic URI toUri()
toUri in interface FileObjectCopyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.