java.lang.Object
de.grogra.propFile.PropertyReader
- All Implemented Interfaces:
PersistenceInput,TextReader
-
Field Summary
Fields inherited from interface de.grogra.persistence.PersistenceInput
ARRAY_OBJECT, MANAGEABLE_OBJECT, MIN_UNUSED_KIND, NULL_OBJECT, PERSISTENT_OBJECT_ID, PLAIN_OBJECT, SERIALIZED_OBJECT, SHARED_OBJECT_REFERENCE, STRING_OBJECTFields inherited from interface de.grogra.propFile.TextReader
ARRAY_END, ARRAY_START, COLLECTION_END, COLLECTION_SEPARATOR, COLLECTION_START, MANAGED_END, MANAGED_START, TYPE_END, TYPE_START -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintbooleanbeginComponent(ManageableType.ArrayComponent c, int index) beginField(ManageableType type, ManageableType.Field field) voidendArray()voidvoidvoidendField()voidprotected Typeintprotected booleanisPrimitive(String name) charpeek()protected TypeprimitiveType(String name) booleanreadBufferAsString(boolean removeTags) bytereadByte()charreadChar()protected ObjectreadDefault(Type type, String serialized) doublefloatintreadInt()longreadLong()protected ObjectreadManageable(Type type, String serialized) readName()readObject(int kind, Type type) longshortreadType()intintprotected StringremoveManagedTags(String buf) resolveId(long inputId) voidsetNested(boolean nested)
-
Constructor Details
-
PropertyReader
-
-
Method Details
-
setProperty
-
isPrimitive
-
primitiveType
-
getBindings
- Specified by:
getBindingsin interfacePersistenceInput
-
readBoolean
- Specified by:
readBooleanin interfacePersistenceInput- Throws:
IOException
-
readByte
- Specified by:
readBytein interfacePersistenceInput- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedBytein interfacePersistenceInput- Throws:
IOException
-
readShort
- Specified by:
readShortin interfacePersistenceInput- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShortin interfacePersistenceInput- Throws:
IOException
-
readChar
- Specified by:
readCharin interfacePersistenceInput- Throws:
IOException
-
readInt
- Specified by:
readIntin interfacePersistenceInput- Throws:
IOException
-
readLong
- Specified by:
readLongin interfacePersistenceInput- Throws:
IOException
-
readFloat
- Specified by:
readFloatin interfacePersistenceInput- Throws:
IOException
-
readDouble
- Specified by:
readDoublein interfacePersistenceInput- Throws:
IOException
-
readName
- Specified by:
readNamein interfacePersistenceInput- Throws:
IOException
-
readString
- Specified by:
readStringin interfacePersistenceInput- Throws:
IOException
-
readBufferAsString
- Throws:
IOException
-
removeManagedTags
-
readObject
- Specified by:
readObjectin interfacePersistenceInput- Throws:
IOException
-
getDefaultType
- Throws:
IOException
-
readManageable
- Throws:
IOException
-
readDefault
- Throws:
IOException
-
readType
- Throws:
IOException
-
readArray
- Throws:
IOException
-
beginCollection
- Throws:
IOException
-
endCollection
- Throws:
IOException
-
beginArray
- Specified by:
beginArrayin interfacePersistenceInput- Throws:
IOException
-
beginComponent
- Specified by:
beginComponentin interfacePersistenceInput- Throws:
IOException
-
endComponent
- Specified by:
endComponentin interfacePersistenceInput- Throws:
IOException
-
endArray
- Specified by:
endArrayin interfacePersistenceInput- Throws:
IOException
-
getNextObjectKind
- Specified by:
getNextObjectKindin interfacePersistenceInput- Throws:
IOException
-
readPersistentObjectId
- Specified by:
readPersistentObjectIdin interfacePersistenceInput- Throws:
IOException
-
readPersistentObject
- Specified by:
readPersistentObjectin interfacePersistenceInput- Throws:
IOException
-
beginManaged
- Specified by:
beginManagedin interfacePersistenceInput- Throws:
IOException
-
areFieldsProvided
public boolean areFieldsProvided()- Specified by:
areFieldsProvidedin interfacePersistenceInput
-
beginField
public ManageableType.Field beginField(ManageableType type, ManageableType.Field field) throws IOException - Specified by:
beginFieldin interfacePersistenceInput- Throws:
IOException
-
endField
- Specified by:
endFieldin interfacePersistenceInput- Throws:
IOException
-
endManaged
- Specified by:
endManagedin interfacePersistenceInput- Throws:
IOException
-
setNested
public void setNested(boolean nested) - Specified by:
setNestedin interfacePersistenceInput
-
resolveId
- Specified by:
resolveIdin interfacePersistenceInput
-
peek
- Specified by:
peekin interfacePersistenceInput- Throws:
IOException
-