org.openrdf.store.blob.file
Class FileBlob

java.lang.Object
  extended by org.openrdf.store.blob.BlobObject
      extended by org.openrdf.store.blob.file.FileBlob
All Implemented Interfaces:
javax.tools.FileObject, FileListener

Deprecated.

@Deprecated
public class FileBlob
extends BlobObject
implements FileListener


Constructor Summary
protected FileBlob(FileBlobVersion disk, String uri)
          Deprecated.  
 
Method Summary
protected  void abort()
          Deprecated.  
 void changed(String uri)
          Deprecated.  
 boolean delete()
          Deprecated.  
 boolean equals(Object obj)
          Deprecated.  
protected  boolean erase()
          Deprecated.  
 String getCommittedVersion()
          Deprecated. Identifier of the most recent committed blob version that is read by this BlobObject.
 long getLastModified()
          Deprecated.  
 long getLength()
          Deprecated. Returns the number of bytes in the BLOB value designated by this Blob object.
 String[] getRecentVersions()
          Deprecated. Most recent version identifiers that have committed modifications of this blob.
protected  boolean hasConflict()
          Deprecated.  
protected  boolean isChangePending()
          Deprecated.  
 InputStream openInputStream()
          Deprecated.  
 OutputStream openOutputStream()
          Deprecated.  
protected  boolean sync()
          Deprecated.  
 
Methods inherited from class org.openrdf.store.blob.BlobObject
getCharContent, getName, openReader, openWriter, toString, toUri
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileBlob

protected FileBlob(FileBlobVersion disk,
                   String uri)
Deprecated. 
Method Detail

equals

public boolean equals(Object obj)
Deprecated. 
Specified by:
equals in class BlobObject

getRecentVersions

public String[] getRecentVersions()
                           throws IOException
Deprecated. 
Description copied from class: BlobObject
Most recent version identifiers that have committed modifications of this blob. The first identifier in the response is the most recent.

Specified by:
getRecentVersions in class BlobObject
Throws:
IOException

getCommittedVersion

public String getCommittedVersion()
                           throws IOException
Deprecated. 
Description copied from class: BlobObject
Identifier of the most recent committed blob version that is read by this 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.

Specified by:
getCommittedVersion in class BlobObject
Returns:
version identifier or null if this blob has no version
Throws:
IOException

delete

public boolean delete()
Deprecated. 
Specified by:
delete in interface javax.tools.FileObject

getLength

public long getLength()
               throws IOException
Deprecated. 
Description copied from class: BlobObject
Returns the number of bytes in the BLOB value designated by this Blob object.

Specified by:
getLength in class BlobObject
Returns:
length of the BLOB in bytes
Throws:
IOException

getLastModified

public long getLastModified()
Deprecated. 
Specified by:
getLastModified in interface javax.tools.FileObject

openInputStream

public InputStream openInputStream()
                            throws IOException
Deprecated. 
Specified by:
openInputStream in interface javax.tools.FileObject
Throws:
IOException

openOutputStream

public OutputStream openOutputStream()
                              throws IOException
Deprecated. 
Specified by:
openOutputStream in interface javax.tools.FileObject
Throws:
IOException

changed

public void changed(String uri)
Deprecated. 
Specified by:
changed in interface FileListener

hasConflict

protected boolean hasConflict()
Deprecated. 

isChangePending

protected boolean isChangePending()
Deprecated. 

sync

protected boolean sync()
                throws IOException
Deprecated. 
Throws:
IOException

abort

protected void abort()
Deprecated. 

erase

protected boolean erase()
                 throws IOException
Deprecated. 
Throws:
IOException


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.