com.jcraft.jorbis
Class VorbisFile.SeekableInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bycom.jcraft.jorbis.VorbisFile.SeekableInputStream
Enclosing class:
VorbisFile

class VorbisFile.SeekableInputStream
extends java.io.InputStream


Field Summary
(package private) static java.lang.String mode
           
(package private)  java.io.RandomAccessFile raf
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
private VorbisFile.SeekableInputStream()
           
(package private) VorbisFile.SeekableInputStream(java.lang.String file)
           
 
Method Summary
 int available()
           
 void close()
           
 long getLength()
           
 void mark(int m)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] buf)
           
 int read(byte[] buf, int s, int len)
           
 void reset()
           
 void seek(long pos)
           
 long skip(long n)
           
 long tell()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

raf

java.io.RandomAccessFile raf

mode

static final java.lang.String mode
See Also:
Constant Field Values
Constructor Detail

VorbisFile.SeekableInputStream

private VorbisFile.SeekableInputStream()

VorbisFile.SeekableInputStream

VorbisFile.SeekableInputStream(java.lang.String file)
                         throws java.io.FileNotFoundException
Method Detail

read

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

read

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

read

public int read(byte[] buf,
                int s,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException

skip

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

getLength

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

tell

public long tell()
          throws java.io.IOException
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Throws:
java.io.IOException

close

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

mark

public void mark(int m)

reset

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

markSupported

public boolean markSupported()

seek

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


Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.