Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.io
Class Deserializer

java.lang.Object
  extended by com.liferay.portal.kernel.io.Deserializer

public class Deserializer
extends Object

See Also:
Serializer

Nested Class Summary
protected  class Deserializer.BufferInputStream
           
 
Field Summary
protected  byte[] buffer
           
protected  int index
           
protected  int limit
           
 
Constructor Summary
Deserializer(ByteBuffer byteBuffer)
           
 
Method Summary
protected  void detectBufferUnderflow(int availableBytes)
          This method is final so that JIT can inline it.
 boolean readBoolean()
           
 byte readByte()
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 int readInt()
           
 long readLong()
           
<T extends Serializable>
T
readObject()
           
 short readShort()
           
 String readString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected byte[] buffer

index

protected int index

limit

protected int limit
Constructor Detail

Deserializer

public Deserializer(ByteBuffer byteBuffer)
Method Detail

readBoolean

public boolean readBoolean()

readByte

public byte readByte()

readChar

public char readChar()

readDouble

public double readDouble()

readFloat

public float readFloat()

readInt

public int readInt()

readLong

public long readLong()

readObject

public <T extends Serializable> T readObject()
                                  throws ClassNotFoundException
Throws:
ClassNotFoundException

readShort

public short readShort()

readString

public String readString()

detectBufferUnderflow

protected final void detectBufferUnderflow(int availableBytes)
This method is final so that JIT can inline it.


Liferay 6.1.2-ce-ga3