Class ContextDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
com._1c.g5.v8.internal.derived.context.ContextDataInputStream
- All Implemented Interfaces:
IContextDataInput,Closeable,DataInput,AutoCloseable
Data input stream with helper methods for
IObjectDerivedDataContext deserialization-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EClassReadsEClassbeing serialized by the call ofIContextDataOutput.writeEClass(EClass)method.org.eclipse.emf.ecore.EStructuralFeatureReads structural feature being serialized by the call ofIContextDataOutput.writeEStructuralFeature(EStructuralFeature)method.voidreadLongCollection(Collection<Long> targetCollection) ReadsLongcollection being serialized by the call of {@link IContextDataOutput#writeLongCollection(Collection))} method.Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesMethods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Constructor Details
-
ContextDataInputStream
-
-
Method Details
-
readEClass
Description copied from interface:IContextDataInputReadsEClassbeing serialized by the call ofIContextDataOutput.writeEClass(EClass)method. TheEClassmust be registered in BM model as a storable object type- Specified by:
readEClassin interfaceIContextDataInput- Returns:
- Stored
EClass. Nevernull - Throws:
IOException- In case of deserialization errors
-
readEStructuralFeature
Description copied from interface:IContextDataInputReads structural feature being serialized by the call ofIContextDataOutput.writeEStructuralFeature(EStructuralFeature)method. The corresponding containingEClassmust be registered in BM model as a storable object type- Specified by:
readEStructuralFeaturein interfaceIContextDataInput- Returns:
- Stored structural feature. Never
null - Throws:
IOException- In case of deserialization errors
-
readLongCollection
Description copied from interface:IContextDataInputReadsLongcollection being serialized by the call of {@link IContextDataOutput#writeLongCollection(Collection))} method.- Specified by:
readLongCollectionin interfaceIContextDataInput- Parameters:
targetCollection- A target collection to read data into. May not beNullPointerException- Throws:
IOException- In case of deserialization errors
-