JBoss Marshalling 1.3.18.GA

org.jboss.marshalling.river
Class BlockUnmarshaller

java.lang.Object
  extended by org.jboss.marshalling.river.BlockUnmarshaller
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ByteInput, Unmarshaller

public final class BlockUnmarshaller
extends Object
implements Unmarshaller


Method Summary
 int available()
           
 void clearClassCache()
           
 void clearInstanceCache()
           
 void close()
           
 void finish()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 boolean readBoolean()
           
 byte readByte()
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 void readFully(byte[] b)
           
 void readFully(byte[] b, int off, int len)
           
 int readInt()
           
 String readLine()
           
 long readLong()
           
 Object readObject()
           
<T> T
readObject(Class<T> type)
           
 Object readObjectUnshared()
           
<T> T
readObjectUnshared(Class<T> type)
           
 short readShort()
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
 String readUTF()
           
 long skip(long n)
           
 int skipBytes(int n)
           
 void start(ByteInput newInput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readObjectUnshared

public Object readObjectUnshared()
                          throws ClassNotFoundException,
                                 IOException
Specified by:
readObjectUnshared in interface Unmarshaller
Throws:
ClassNotFoundException
IOException

readObject

public Object readObject()
                  throws ClassNotFoundException,
                         IOException
Specified by:
readObject in interface ObjectInput
Throws:
ClassNotFoundException
IOException

read

public int read()
         throws IOException
Specified by:
read in interface ObjectInput
Specified by:
read in interface ByteInput
Throws:
IOException

read

public int read(byte[] b)
         throws IOException
Specified by:
read in interface ObjectInput
Specified by:
read in interface ByteInput
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Specified by:
read in interface ObjectInput
Specified by:
read in interface ByteInput
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Specified by:
skip in interface ObjectInput
Specified by:
skip in interface ByteInput
Throws:
IOException

available

public int available()
              throws IOException
Specified by:
available in interface ObjectInput
Specified by:
available in interface ByteInput
Throws:
IOException

readFully

public void readFully(byte[] b)
               throws IOException
Specified by:
readFully in interface DataInput
Throws:
IOException

readFully

public void readFully(byte[] b,
                      int off,
                      int len)
               throws IOException
Specified by:
readFully in interface DataInput
Throws:
IOException

skipBytes

public int skipBytes(int n)
              throws IOException
Specified by:
skipBytes in interface DataInput
Throws:
IOException

readBoolean

public boolean readBoolean()
                    throws IOException
Specified by:
readBoolean in interface DataInput
Throws:
IOException

readByte

public byte readByte()
              throws IOException
Specified by:
readByte in interface DataInput
Throws:
IOException

readUnsignedByte

public int readUnsignedByte()
                     throws IOException
Specified by:
readUnsignedByte in interface DataInput
Throws:
IOException

readShort

public short readShort()
                throws IOException
Specified by:
readShort in interface DataInput
Throws:
IOException

readUnsignedShort

public int readUnsignedShort()
                      throws IOException
Specified by:
readUnsignedShort in interface DataInput
Throws:
IOException

readChar

public char readChar()
              throws IOException
Specified by:
readChar in interface DataInput
Throws:
IOException

readInt

public int readInt()
            throws IOException
Specified by:
readInt in interface DataInput
Throws:
IOException

readLong

public long readLong()
              throws IOException
Specified by:
readLong in interface DataInput
Throws:
IOException

readFloat

public float readFloat()
                throws IOException
Specified by:
readFloat in interface DataInput
Throws:
IOException

readDouble

public double readDouble()
                  throws IOException
Specified by:
readDouble in interface DataInput
Throws:
IOException

readLine

public String readLine()
                throws IOException
Specified by:
readLine in interface DataInput
Throws:
IOException

readUTF

public String readUTF()
               throws IOException
Specified by:
readUTF in interface DataInput
Throws:
IOException

clearInstanceCache

public void clearInstanceCache()
                        throws IOException
Specified by:
clearInstanceCache in interface Unmarshaller
Throws:
IOException

clearClassCache

public void clearClassCache()
                     throws IOException
Specified by:
clearClassCache in interface Unmarshaller
Throws:
IOException

start

public void start(ByteInput newInput)
           throws IOException
Specified by:
start in interface Unmarshaller
Throws:
IOException

finish

public void finish()
            throws IOException
Specified by:
finish in interface Unmarshaller
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface ObjectInput
Throws:
IOException

readObject

public <T> T readObject(Class<T> type)
             throws ClassNotFoundException,
                    IOException
Specified by:
readObject in interface Unmarshaller
Throws:
ClassNotFoundException
IOException

readObjectUnshared

public <T> T readObjectUnshared(Class<T> type)
                     throws ClassNotFoundException,
                            IOException
Specified by:
readObjectUnshared in interface Unmarshaller
Throws:
ClassNotFoundException
IOException

JBoss Marshalling 1.3.18.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.