|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.store.GenericObjectSerializationFactory
public class GenericObjectSerializationFactory
An object reader and writer factory providing generic object serialisation capabilities capable of storing and loading any Storeable class implementations.
Constructor Summary | |
---|---|
GenericObjectSerializationFactory()
|
Method Summary | |
---|---|
ObjectReader |
createObjectReader(StoreReader storeReader,
StoreClassRegister storeClassRegister)
Creates a new object reader. |
ObjectWriter |
createObjectWriter(StoreWriter storeWriter,
StoreClassRegister storeClassRegister)
Creates a new object writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericObjectSerializationFactory()
Method Detail |
---|
public ObjectReader createObjectReader(StoreReader storeReader, StoreClassRegister storeClassRegister)
createObjectReader
in interface ObjectSerializationFactory
storeReader
- The store writer to write all serialised data to.storeClassRegister
- The register for class to identifier mappings.
public ObjectWriter createObjectWriter(StoreWriter storeWriter, StoreClassRegister storeClassRegister)
createObjectWriter
in interface ObjectSerializationFactory
storeWriter
- The store writer to write all serialised data to.storeClassRegister
- The register for class to identifier mappings.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |