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.EClass
ReadsEClass
being serialized by the call ofIContextDataOutput.writeEClass(EClass)
method.org.eclipse.emf.ecore.EStructuralFeature
Reads structural feature being serialized by the call ofIContextDataOutput.writeEStructuralFeature(EStructuralFeature)
method.void
readLongCollection
(Collection<Long> targetCollection) ReadsLong
collection 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, skipBytes
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:IContextDataInput
ReadsEClass
being serialized by the call ofIContextDataOutput.writeEClass(EClass)
method. TheEClass
must be registered in BM model as a storable object type- Specified by:
readEClass
in interfaceIContextDataInput
- Returns:
- Stored
EClass
. Nevernull
- Throws:
IOException
- In case of deserialization errors
-
readEStructuralFeature
Description copied from interface:IContextDataInput
Reads structural feature being serialized by the call ofIContextDataOutput.writeEStructuralFeature(EStructuralFeature)
method. The corresponding containingEClass
must be registered in BM model as a storable object type- Specified by:
readEStructuralFeature
in interfaceIContextDataInput
- Returns:
- Stored structural feature. Never
null
- Throws:
IOException
- In case of deserialization errors
-
readLongCollection
Description copied from interface:IContextDataInput
ReadsLong
collection being serialized by the call of {@link IContextDataOutput#writeLongCollection(Collection))} method.- Specified by:
readLongCollection
in interfaceIContextDataInput
- Parameters:
targetCollection
- A target collection to read data into. May not beNullPointerException
- Throws:
IOException
- In case of deserialization errors
-