Class PbsInputStream

All Implemented Interfaces:
IThreadLocalResource, Closeable, AutoCloseable

public class PbsInputStream extends GSByteArrayInputStream implements IThreadLocalResource
This class is an extension of a ByteArrayInputStream with PBS functionality.
Since:
6.6
Author:
niv
  • Constructor Details

    • PbsInputStream

      public PbsInputStream(byte[] buf)
  • Method Details

    • readShort

      public short readShort()
    • readInt

      public int readInt()
    • readIntFixed

      public int readIntFixed()
    • readLong

      public long readLong()
    • readLongFixed

      public long readLongFixed()
    • readFloat

      public float readFloat()
    • readDouble

      public double readDouble()
    • readBoolean

      public boolean readBoolean()
    • readChar

      public char readChar()
    • readString

      public String readString()
    • readRepetitiveString

      public String readRepetitiveString()
    • readRepetitiveStringArray

      public String[] readRepetitiveStringArray()
    • readDateTime

      public Date readDateTime()
    • readDecimal

      public BigDecimal readDecimal()
    • readUUID

      public UUID readUUID()
    • readByteArray

      public byte[] readByteArray()
    • readFixedByteArray

      public byte[] readFixedByteArray()
    • readShortArray

      public short[] readShortArray()
    • readIntArray

      public int[] readIntArray()
    • readLongArray

      public long[] readLongArray()
    • readFloatArray

      public float[] readFloatArray()
    • readDoubleArray

      public double[] readDoubleArray()
    • readBoolArray

      public boolean[] readBoolArray()
    • readCharArray

      public char[] readCharArray()
    • readStringArray

      public String[] readStringArray()
    • readDateTimeArray

      public Date[] readDateTimeArray()
    • readDecimalArray

      public BigDecimal[] readDecimalArray()
    • readUUIDArray

      public UUID[] readUUIDArray()
    • readByteWrapperArray

      public Byte[] readByteWrapperArray()
    • readShortWrapperArray

      public Short[] readShortWrapperArray()
    • readIntegerWrapperArray

      public Integer[] readIntegerWrapperArray()
    • readLongWrapperArray

      public Long[] readLongWrapperArray()
    • readFloatWrapperArray

      public Float[] readFloatWrapperArray()
    • readDoubleWrapperArray

      public Double[] readDoubleWrapperArray()
    • readBooleanWrapperArray

      public Boolean[] readBooleanWrapperArray()
    • readCharWrapperArray

      public Character[] readCharWrapperArray()
    • readProperties

      public Properties readProperties()
    • readStringProperties

      public Map<String,String> readStringProperties()
    • readBinaryObject

      public BinaryObject readBinaryObject()
    • readNullableBoolean

      public Boolean readNullableBoolean()
    • readNullableInt

      public Integer readNullableInt()
    • readNullableLong

      public Long readNullableLong()
    • readNullableUUID

      public UUID readNullableUUID()
    • isUsed

      public boolean isUsed()
      Specified by:
      isUsed in interface IThreadLocalResource
      Returns:
      is the resource in use
    • release

      public void release()
      Description copied from interface: IThreadLocalResource
      Release the resource, set is as unused
      Specified by:
      release in interface IThreadLocalResource
    • setAsUsed

      public void setAsUsed()
      Description copied from interface: IThreadLocalResource
      Set the resource as used
      Specified by:
      setAsUsed in interface IThreadLocalResource