Package org.apache.uima.cas.impl

# Class CommonSerDes

java.lang.Object
org.apache.uima.cas.impl.CommonSerDes

public class CommonSerDes extends Object
Common de/serialization

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `CommonSerDes.Header`
  HEADERS Serialization versioning There are 1 or 2 words used for versioning.
  `static class`
  `CommonSerDes.Reading`
  byte swapping reads of integer forms

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CommonSerDes()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static CommonSerDes.Header`
  `createHeader()`
  `static boolean`
  `isBinaryHeader(DataInputStream dis)`
  `static DataInputStream`
  `maybeWrapToDataInputStream(InputStream os)`
  `static DataOutputStream`
  `maybeWrapToDataOutputStream(OutputStream os)`
  `static CommonSerDes.Header`
  `readHeader(DataInputStream dis)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CommonSerDes

    public CommonSerDes()

- ## Method Details

  - ### createHeader

    public static CommonSerDes.Header createHeader()

  - ### isBinaryHeader

    public static boolean isBinaryHeader(DataInputStream dis)

  - ### readHeader

    public static CommonSerDes.Header readHeader(DataInputStream dis) throws IOException
    Throws:
      `IOException`

  - ### maybeWrapToDataOutputStream

    public static DataOutputStream maybeWrapToDataOutputStream(OutputStream os)

  - ### maybeWrapToDataInputStream

    public static DataInputStream maybeWrapToDataInputStream(InputStream os)