Framework Professional Edition Package


org.mbs.services.io
Interface RandomAccessConnection

All Superinterfaces:
Connection, java.io.DataInput, java.io.DataOutput, InputConnection, OutputConnection

public interface RandomAccessConnection
extends InputConnection, OutputConnection, java.io.DataInput, java.io.DataOutput


Method Summary
 void flush()
           
 long getFilePointer()
           
 boolean isSelected()
           
 long length()
           
 int read()
           
 int read(byte[] buff, int off, int len)
           
 void seek(long len)
           
 void write(byte[] buff, int off, int len)
           
 void write(int b)
           
 
Methods inherited from interface javax.microedition.io.InputConnection
openDataInputStream, openInputStream
 
Methods inherited from interface javax.microedition.io.Connection
close
 
Methods inherited from interface javax.microedition.io.OutputConnection
openDataOutputStream, openOutputStream
 
Methods inherited from interface javax.microedition.io.Connection
close
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 
Methods inherited from interface java.io.DataOutput
write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Method Detail

length

long length()
            throws java.io.IOException
Throws:
java.io.IOException

getFilePointer

long getFilePointer()
                    throws java.io.IOException
Throws:
java.io.IOException

isSelected

boolean isSelected()

read

int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

int read(byte[] buff,
         int off,
         int len)
         throws java.io.IOException
Throws:
java.io.IOException

seek

void seek(long len)
          throws java.io.IOException
Throws:
java.io.IOException

write

void write(int b)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Throws:
java.io.IOException

write

void write(byte[] buff,
           int off,
           int len)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Throws:
java.io.IOException

flush

void flush()
           throws java.io.IOException
Throws:
java.io.IOException

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved