Class AbstractRandomAccessStreamContent
java.lang.Object
org.apache.commons.vfs.provider.AbstractRandomAccessContent
org.apache.commons.vfs.provider.AbstractRandomAccessStreamContent
- All Implemented Interfaces:
DataInput, DataOutput, RandomAccessContent
Implements the part usable for all stream base random access implementations
- Version:
- $Revision: 485638 $ $Date: 2006-12-11 13:20:55 +0100 (Mon, 11 Dec 2006) $
- Author:
- Mario Ivankovits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract DataInputStreamget the input stream
Notice: If you useRandomAccessContent.seek(long)you have to reget the InputStreambooleanbytereadByte()charreadChar()doublefloatvoidreadFully(byte[] b) voidreadFully(byte[] b, int off, int len) intreadInt()longreadLong()shortintintreadUTF()intskipBytes(int n) Methods inherited from class AbstractRandomAccessContent
readLine, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RandomAccessContent
close, getFilePointer, length, seek
-
Constructor Details
-
AbstractRandomAccessStreamContent
-
-
Method Details
-
getDataInputStream
- Throws:
IOException
-
readByte
- Throws:
IOException
-
readChar
- Throws:
IOException
-
readDouble
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readUnsignedByte
- Throws:
IOException
-
readUnsignedShort
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readShort
- Throws:
IOException
-
readBoolean
- Throws:
IOException
-
skipBytes
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readUTF
- Throws:
IOException
-
getInputStream
Description copied from interface:RandomAccessContentget the input stream
Notice: If you useRandomAccessContent.seek(long)you have to reget the InputStream- Throws:
IOException
-