|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.store.StoreClassRegister
public class StoreClassRegister
Allocates unique identifiers for class types written to a store and maintains the relationship between classes and their identifiers.
Constructor Summary | |
---|---|
StoreClassRegister()
Creates a new instance. |
Method Summary | |
---|---|
java.lang.Class<?> |
getClassFromIdentifier(StoreReader storeReader)
Returns the class associated with the unique identifier in the store. |
void |
storeIdentifierForClass(StoreWriter storeWriter,
java.lang.Class<?> clazz)
Stores the unique identifier for the specified class to the store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreClassRegister()
Method Detail |
---|
public void storeIdentifierForClass(StoreWriter storeWriter, java.lang.Class<?> clazz)
storeWriter
- The store to write class identification data to.clazz
- The class for which an identifier is required.public java.lang.Class<?> getClassFromIdentifier(StoreReader storeReader)
storeReader
- The store to read class identification information from.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |