StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.lib.io
Class MemoryInputStream

java.lang.Object
  |
  +--com.sun.star.lib.io.MemoryInputStream
All Implemented Interfaces:
java.io.DataInput

public synchronized class MemoryInputStream
extends java.lang.Object
implements java.io.DataInput


Field Summary
(package private)  int aktPos
           
private  byte[] bytes
           
private  char[] lineBuffer
           
 
Constructor Summary
MemoryInputStream(byte[] b)
           
MemoryInputStream(char[] c)
           
 
Method Summary
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int i1, int i2)
           
 boolean readBoolean()
           
 byte readByte()
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 void readFully(byte[] b)
           
 void readFully(byte[] b, int i1, int i2)
           
 int readInt()
           
 java.lang.String readLine()
           
 long readLong()
           
 short readShort()
           
 java.lang.String readUTF()
           
static java.lang.String readUTF(java.io.DataInput di)
           
 java.lang.String readUTF2()
           
static java.lang.String readUTF2(java.io.DataInput di)
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
 int skipBytes(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aktPos

int aktPos

bytes

private byte[] bytes

lineBuffer

private char[] lineBuffer
Constructor Detail

MemoryInputStream

public MemoryInputStream(byte[] b)

MemoryInputStream

public MemoryInputStream(char[] c)
Method Detail

read

public final int read()

read

public final int read(byte[] b)
               throws java.io.IOException

read

public final int read(byte[] b,
                      int i1,
                      int i2)
               throws java.io.IOException

readBoolean

public final boolean readBoolean()
                          throws java.io.IOException
Specified by:
readBoolean in interface java.io.DataInput

readByte

public final byte readByte()
                    throws java.io.IOException
Specified by:
readByte in interface java.io.DataInput

readChar

public final char readChar()
                    throws java.io.IOException
Specified by:
readChar in interface java.io.DataInput

readDouble

public final double readDouble()
                        throws java.io.IOException
Specified by:
readDouble in interface java.io.DataInput

readFloat

public final float readFloat()
                      throws java.io.IOException
Specified by:
readFloat in interface java.io.DataInput

readFully

public final void readFully(byte[] b)
                     throws java.io.IOException
Specified by:
readFully in interface java.io.DataInput

readFully

public final void readFully(byte[] b,
                            int i1,
                            int i2)
                     throws java.io.IOException
Specified by:
readFully in interface java.io.DataInput

readInt

public final int readInt()
                  throws java.io.IOException
Specified by:
readInt in interface java.io.DataInput

readLine

public final java.lang.String readLine()
                                throws java.io.IOException
Specified by:
readLine in interface java.io.DataInput

readLong

public final long readLong()
                    throws java.io.IOException
Specified by:
readLong in interface java.io.DataInput

readShort

public final short readShort()
                      throws java.io.IOException
Specified by:
readShort in interface java.io.DataInput

readUTF

public final java.lang.String readUTF()
                               throws java.io.IOException
Specified by:
readUTF in interface java.io.DataInput

readUTF

public static final java.lang.String readUTF(java.io.DataInput di)
                                      throws java.io.IOException

readUTF2

public final java.lang.String readUTF2()
                                throws java.io.IOException

readUTF2

public static final java.lang.String readUTF2(java.io.DataInput di)
                                       throws java.io.IOException

readUnsignedByte

public final int readUnsignedByte()
                           throws java.io.IOException
Specified by:
readUnsignedByte in interface java.io.DataInput

readUnsignedShort

public final int readUnsignedShort()
                            throws java.io.IOException
Specified by:
readUnsignedShort in interface java.io.DataInput

skipBytes

public final int skipBytes(int i)
                    throws java.io.IOException
Specified by:
skipBytes in interface java.io.DataInput

StarOffice 5.2 API
reverse engineered by classdoc