|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.store.BaseStoreClassRegister
org.openstreetmap.osmosis.core.store.DynamicStoreClassRegister
public class DynamicStoreClassRegister
This store class register dynamically allocates identifiers for classes as they are encountered while writing to the store. These identifiers are maintained in memory and used while reading back from the store.
Constructor Summary | |
---|---|
DynamicStoreClassRegister()
Creates a new instance. |
Method Summary | |
---|---|
void |
storeIdentifierForClass(StoreWriter storeWriter,
java.lang.Class<?> clazz)
Stores the unique identifier for the specified class to the store. |
Methods inherited from class org.openstreetmap.osmosis.core.store.BaseStoreClassRegister |
---|
getClassFromIdentifier, isClassRecognized, registerClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicStoreClassRegister()
Method Detail |
---|
public void storeIdentifierForClass(StoreWriter storeWriter, java.lang.Class<?> clazz)
storeIdentifierForClass
in interface StoreClassRegister
storeIdentifierForClass
in class BaseStoreClassRegister
storeWriter
- The store to write class identification data to.clazz
- The class for which an identifier is required.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |