@NotStorableClass public class BasicOrReferenceInput extends Object
Constructor and Description |
---|
BasicOrReferenceInput(IObjectIOManagerForObjectIO objectIoManager,
ClassInfoFactory classInfoFactory,
HelperBinaryConversion helperBinaryConversion) |
Modifier and Type | Method and Description |
---|---|
void |
free(FromBinaryInfo fromBinaryInfo) |
FromBinaryInfo |
fromBinary(byte[] binary,
int offset)
get basic object, reference, or null from binay data record
|
DataRecordIdentifier |
getIdentifier() |
public BasicOrReferenceInput(IObjectIOManagerForObjectIO objectIoManager, ClassInfoFactory classInfoFactory, HelperBinaryConversion helperBinaryConversion)
public FromBinaryInfo fromBinary(byte[] binary, int offset) throws ObjectIOException, ObjectIODataRecordNotFoundException, ObjectIOClassNotFoundException, ObjectIOInvalidClassException, ObjectIODataCorruptedException, ObjectIONotSerializableException, IOException
binary
- where read fromoffset
- where read from in binaryObjectIODataRecordNotFoundException
- data record for object not foundObjectIOException
- object creation errorObjectIODataCorruptedException
ObjectIOInvalidClassException
ObjectIOClassNotFoundException
ObjectIONotSerializableException
IOException
FileCorruptedException
public DataRecordIdentifier getIdentifier()
public void free(FromBinaryInfo fromBinaryInfo)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.