Uses of Enum Class
org.apache.uima.cas.SerialFormat
Packages that use SerialFormat
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Utility classes and interfaces used by UIMA components.
-
Uses of SerialFormat in org.apache.uima.cas
Methods in org.apache.uima.cas that return SerialFormatModifier and TypeMethodDescriptionstatic SerialFormatReturns the enum constant of this class with the specified name.static SerialFormat[]SerialFormat.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of SerialFormat in org.apache.uima.cas.impl
Methods in org.apache.uima.cas.impl that return SerialFormatModifier and TypeMethodDescriptionstatic SerialFormatSerialization.deserializeCAS(CAS cas, InputStream istream) Deserialize a CAS, in various binary formats, into an existing CAS Note: this form supports deserializing the following binary representations: - plain (uncompressed) - compressed, no type filtering (form 4), Delta and not-delta - compressed, no type filtering (form 6), not-delta only.BinaryCasSerDes.reinit(InputStream istream) see Blob Format in CASSerializer This reads in and deserializes CAS data from a stream.BinaryCasSerDes.reinit(CommonSerDes.Header h, InputStream istream, CASMgrSerializer casMgrSerializer, CasLoadMode casLoadMode, BinaryCasSerDes6 f6, AllowPreexistingFS allowPreexistingFS, TypeSystemImpl ts) Deserialize a binary input stream, after reading the header, and optionally an externally provided type system and index spec used in compressed form 6 serialization previously This reads in and deserializes CAS data from a stream.CASImpl.reinit(InputStream istream) --------------------------------------------------------------------- see Blob Format in CASSerializer This reads in and deserializes CAS data from a stream. -
Uses of SerialFormat in org.apache.uima.util
Methods in org.apache.uima.util that return SerialFormatModifier and TypeMethodDescriptionstatic SerialFormatCasIOUtils.load(InputStream casInputStream, InputStream tsiInputStream, CAS aCAS) Loads a CAS from an Input Stream.static SerialFormatCasIOUtils.load(InputStream casInputStream, InputStream tsiInputStream, CAS aCAS, boolean leniently) Loads a CAS from an Input Stream.static SerialFormatCasIOUtils.load(InputStream casInputStream, InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode) Loads a CAS from an Input Stream.static SerialFormatCasIOUtils.load(InputStream casInputStream, CAS aCAS) Loads a Cas from an Input Stream.static SerialFormatCasIOUtils.load(InputStream casInputStream, CAS aCAS, TypeSystem typeSystem) This load variant can be used for loading Form 6 compressed CASes where the type system to use to deserialize is provided as an argument.static SerialFormatLoads a CAS from a URL source.static SerialFormatCasIOUtils.load(URL casUrl, URL tsiUrl, CAS aCAS, CasLoadMode casLoadMode) Loads a CAS from a URL source.static SerialFormatLoads a Cas from a URL source.Methods in org.apache.uima.util with parameters of type SerialFormatModifier and TypeMethodDescriptionstatic voidCasIOUtils.save(CAS aCas, OutputStream docOS, OutputStream tsiOS, SerialFormat format) Write the CAS in the specified format.static voidCasIOUtils.save(CAS aCas, OutputStream docOS, SerialFormat format) Write the CAS in the specified format.