public class HashStore extends Object
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent(URI uri) |
static HashStore |
getDefaultStore() |
long |
getSize(URI uri) |
URI |
storeContent(byte[] content) |
void |
writeContent(URI uri,
byte[] content)
Deprecated.
use storeContent instead
|
public HashStore(File directory)
public InputStream getContent(URI uri) throws HashStoreException
HashStoreExceptionpublic URI storeContent(byte[] content) throws IOException
IOExceptionpublic void writeContent(URI uri, byte[] content) throws UnsupportedURIType, IOException
uri - content - UnsupportedURITypeIOExceptionpublic long getSize(URI uri) throws HashStoreException
object - HashStoreExceptionpublic static HashStore getDefaultStore()
Copyright © 2014. All Rights Reserved.