Package com.jcraft.jorbis
Class VorbisFile
- java.lang.Object
-
- com.jcraft.jorbis.VorbisFile
-
public class VorbisFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VorbisFile(java.io.InputStream is, byte[] initial, int ibytes)
VorbisFile(java.lang.String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
bitrate(int i)
int
bitrate_instant()
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)
-
-
-
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
-
-