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 intbitrate(int i)intbitrate_instant()voidclose()Comment[]getComment()CommentgetComment(int link)Info[]getInfo()InfogetInfo(int link)intpcm_seek(long pos)longpcm_tell()longpcm_total(int i)intraw_seek(int pos)longraw_tell()longraw_total(int i)booleanseekable()intserialnumber(int i)intstreams()floattime_tell()floattime_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
-
-