com.jcraft.jorbis
Class VorbisFile

java.lang.Object
  extended by com.jcraft.jorbis.VorbisFile

public class VorbisFile
extends java.lang.Object


Constructor Summary
VorbisFile(java.io.InputStream is, byte[] initial, int ibytes)
           
VorbisFile(java.lang.String file)
           
 
Method Summary
 int bitrate_instant()
           
 int bitrate(int i)
           
 void close()
           
 Comment[] getComment()
           
 Comment getComment(int link)
           
 Info[] getInfo()
           
 Info getInfo(int link)
           
 int pcm_seek(long pos)
           
 long pcm_tell()
           
 long pcm_total(int i)
           
 int raw_seek(int pos)
           
 long raw_tell()
           
 long raw_total(int i)
           
 boolean seekable()
           
 int serialnumber(int i)
           
 int streams()
           
 float time_tell()
           
 float time_total(int i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VorbisFile

public VorbisFile(java.lang.String file)
           throws JOrbisException
Throws:
JOrbisException

VorbisFile

public VorbisFile(java.io.InputStream is,
                  byte[] initial,
                  int ibytes)
           throws JOrbisException
Throws:
JOrbisException
Method Detail

streams

public int streams()

seekable

public boolean seekable()

bitrate

public int bitrate(int i)

bitrate_instant

public int bitrate_instant()

serialnumber

public int serialnumber(int i)

raw_total

public long raw_total(int i)

pcm_total

public long pcm_total(int i)

time_total

public float time_total(int i)

raw_seek

public int raw_seek(int pos)

pcm_seek

public int pcm_seek(long pos)

raw_tell

public long raw_tell()

pcm_tell

public long pcm_tell()

time_tell

public float time_tell()

getInfo

public Info getInfo(int link)

getComment

public Comment getComment(int link)

getInfo

public Info[] getInfo()

getComment

public Comment[] getComment()

close

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