org.wymiwyg.commons.util
Class HashStore
java.lang.Object
org.wymiwyg.commons.util.HashStore
public class HashStore
- extends Object
- Author:
- reto
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HashStore
public HashStore(File directory)
getContent
public InputStream getContent(URI uri)
throws HashStoreException
- Throws:
HashStoreException
storeContent
public URI storeContent(byte[] content)
throws IOException
- Throws:
IOException
writeContent
public void writeContent(URI uri,
byte[] content)
throws UnsupportedURIType,
IOException
- Deprecated. use storeContent instead
- Parameters:
uri - content -
- Throws:
UnsupportedURIType
IOException
getSize
public long getSize(URI uri)
throws HashStoreException
- Parameters:
object -
- Returns:
-
- Throws:
HashStoreException
getDefaultStore
public static HashStore getDefaultStore()
Copyright © 2011. All Rights Reserved.