|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.egothor.repository.BijectInt2StringAppender
org.egothor.repository.BijectInt2String
public class BijectInt2String
This class represents the database of URIs and their unique identificators.
Field Summary |
---|
Fields inherited from class org.egothor.repository.BijectInt2StringAppender |
---|
repoURIInt |
Constructor Summary | |
---|---|
BijectInt2String(java.lang.String name,
int uris_cache)
|
Method Summary | |
---|---|
void |
close()
|
void |
destroy()
Destroy repository. |
java.net.URI |
get(long id)
Retrieves the URI of a given id, null when the id is not assigned yet. |
Methods inherited from class org.egothor.repository.BijectInt2StringAppender |
---|
append, resolve, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.egothor.repository.URIRepository |
---|
resolve |
Methods inherited from interface org.egothor.repository.URIRepositoryAppender |
---|
append, size |
Constructor Detail |
---|
public BijectInt2String(java.lang.String name, int uris_cache) throws com.sleepycat.db.DatabaseException, java.io.FileNotFoundException, java.io.UnsupportedEncodingException
com.sleepycat.db.DatabaseException
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
Method Detail |
---|
public void close()
close
in interface URIRepositoryAppender
close
in class BijectInt2StringAppender
public void destroy()
URIRepository
destroy
in interface URIRepository
public java.net.URI get(long id) throws DatabaseStorageException
get
in interface URIRepository
DatabaseStorageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |