org.icepdf.core.io
Interface SeekableInput

All Known Implementing Classes:
RandomAccessFileInputStream, SeekableByteArrayInputStream

public interface SeekableInput

Since:
2.0
Author:
Mark Collette

Method Summary
 int available()
           
 void beginThreadAccess()
           
 void close()
           
 void endThreadAccess()
           
 long getAbsolutePosition()
           
 java.io.InputStream getInputStream()
           
 long getLength()
           
 void mark(int readLimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] buffer)
           
 int read(byte[] buffer, int offset, int length)
           
 void reset()
           
 void seekAbsolute(long absolutePosition)
           
 void seekEnd()
           
 void seekRelative(long relativeOffset)
           
 long skip(long n)
           
 

Method Detail

read

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

read

int read(byte[] buffer)
         throws java.io.IOException
Throws:
java.io.IOException

read

int read(byte[] buffer,
         int offset,
         int length)
         throws java.io.IOException
Throws:
java.io.IOException

close

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

available

int available()

mark

void mark(int readLimit)

markSupported

boolean markSupported()

reset

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

skip

long skip(long n)
          throws java.io.IOException
Throws:
java.io.IOException

seekAbsolute

void seekAbsolute(long absolutePosition)
                  throws java.io.IOException
Throws:
java.io.IOException

seekRelative

void seekRelative(long relativeOffset)
                  throws java.io.IOException
Throws:
java.io.IOException

seekEnd

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

getAbsolutePosition

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

getLength

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

getInputStream

java.io.InputStream getInputStream()

beginThreadAccess

void beginThreadAccess()

endThreadAccess

void endThreadAccess()