public class LiveDiskBlob extends BlobObject
| Modifier | Constructor and Description |
|---|---|
protected |
LiveDiskBlob(DiskBlobStore store,
String uri) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
boolean |
equals(Object obj) |
String |
getCommittedVersion()
Identifier of the most recent committed blob version that is read by this
BlobObject. |
long |
getLastModified() |
long |
getLength()
Returns the number of bytes in the BLOB value designated by this Blob
object.
|
String[] |
getRecentVersions()
Most recent version identifiers that have committed modifications of this
blob.
|
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
getCharContent, getName, openReader, openWriter, toString, toUriprotected LiveDiskBlob(DiskBlobStore store, String uri) throws IOException
IOExceptionpublic OutputStream openOutputStream() throws IOException
IOExceptionpublic boolean delete()
public long getLength()
throws IOException
BlobObjectgetLength in class BlobObjectIOExceptionpublic long getLastModified()
public boolean equals(Object obj)
equals in class BlobObjectpublic String[] getRecentVersions() throws IOException
BlobObjectgetRecentVersions in class BlobObjectIOExceptionpublic String getCommittedVersion() throws IOException
BlobObjectBlobObject. 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.getCommittedVersion in class BlobObjectIOExceptionpublic InputStream openInputStream() throws IOException
IOExceptionCopyright © 2016 Chair of Distributed Information Systems - University of Passau. All rights reserved.