org.akubraproject.www
Class WWWStore

java.lang.Object
  extended by org.akubraproject.impl.AbstractBlobStore
      extended by org.akubraproject.www.WWWStore
All Implemented Interfaces:
org.akubraproject.BlobStore

public class WWWStore
extends org.akubraproject.impl.AbstractBlobStore

A store that represents the World Wide Web. Blob ids are URLs. As expected, the store is non-transactional. Also the iterator or deletion or rename are all meaningless operations.

Author:
Pradeep Krishnan

Field Summary
 
Fields inherited from class org.akubraproject.impl.AbstractBlobStore
id
 
Constructor Summary
WWWStore(URI id)
          Creates a new WWWStore object.
WWWStore(URI id, Map<String,URLStreamHandler> handlers)
          Creates a new WWWStore object.
 
Method Summary
 org.akubraproject.BlobStoreConnection openConnection(Transaction tx, Map<String,String> hints)
           
 
Methods inherited from class org.akubraproject.impl.AbstractBlobStore
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WWWStore

public WWWStore(URI id)
Creates a new WWWStore object.

Parameters:
id - an identifier for this store

WWWStore

public WWWStore(URI id,
                Map<String,URLStreamHandler> handlers)
Creates a new WWWStore object.

Parameters:
id - an identifier for this store
handlers - the url stream-handlers (keyed by uri scheme) to use; if a handler is not found then the java default one is used. May be null.
Method Detail

openConnection

public org.akubraproject.BlobStoreConnection openConnection(Transaction tx,
                                                            Map<String,String> hints)
                                                     throws UnsupportedOperationException,
                                                            IOException
Throws:
UnsupportedOperationException
IOException


Copyright © 2009-2012 DuraSpace. All Rights Reserved.