|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.persist.impl.ReadOnlyCatalog
class ReadOnlyCatalog
Read-only catalog operations used when initializing new formats. This catalog is used temprarily when the main catalog has not been updated yet, but the new formats need to do catalog lookups.
PersistCatalog.addNewFormat(java.lang.Class)
Constructor Summary | |
---|---|
ReadOnlyCatalog(List<Format> formatList,
Map<String,Format> formatMap)
|
Method Summary | |
---|---|
Format |
createFormat(Class type,
Map<String,Format> newFormats)
|
Format |
getFormat(Class cls)
Returns a format for a given class, or throws an exception. |
Format |
getFormat(int formatId)
Returns a format for a given ID, or throws an exception. |
Format |
getFormat(String className)
Returns a format by class name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ReadOnlyCatalog(List<Format> formatList, Map<String,Format> formatMap)
Method Detail |
---|
public Format getFormat(int formatId)
Catalog
getFormat
in interface Catalog
public Format getFormat(Class cls)
Catalog
getFormat
in interface Catalog
public Format getFormat(String className)
Catalog
Catalog.getFormat(int)
, the
format will not be created if it is not already known.
getFormat
in interface Catalog
public Format createFormat(Class type, Map<String,Format> newFormats)
createFormat
in interface Catalog
PersistCatalog.createFormat(java.lang.Class, java.util.Map)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |