Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lilacsoftware.util
Class VorbisInfo  view VorbisInfo download VorbisInfo.java

java.lang.Object
  extended bycom.lilacsoftware.util.VorbisInfo

public class VorbisInfo
extends java.lang.Object


Field Summary
(package private)  java.lang.String albumName
           
(package private)  java.util.Vector allComments
           
(package private)  java.lang.String artistName
           
(package private)  int bitrate
           
(package private)  byte[] buffer
           
(package private)  int bufferLengthInBytes
           
(package private) static int BUFSIZE
           
(package private)  int bytes
           
(package private)  int channels
           
(package private) static byte[] convbuffer
           
(package private) static int convsize
           
(package private)  int duration
           
(package private)  int format
           
(package private)  int frameSizeInBytes
           
(package private)  int left_vol_scale
           
(package private)  com.jcraft.jogg.Page og
           
(package private)  com.jcraft.jogg.Packet op
           
(package private)  com.jcraft.jogg.StreamState os
           
(package private)  com.jcraft.jogg.SyncState oy
           
(package private)  int rate
           
(package private)  int right_vol_scale
           
(package private)  java.lang.String trackName
           
(package private)  int trackNum
           
(package private)  com.jcraft.jorbis.Block vb
           
(package private)  com.jcraft.jorbis.Comment vc
           
(package private)  com.jcraft.jorbis.DspState vd
           
(package private)  com.jcraft.jorbis.Info vi
           
 
Constructor Summary
VorbisInfo()
          Default Constructor.
VorbisInfo(java.io.File file)
          Extract media and content metadata, using jorbis lib
 
Method Summary
(package private)  void extractStandardComments()
           
 java.lang.String getAlbumName()
           
 java.util.Vector getAllComments()
           
 java.lang.String getArtistName()
           
 int getBitrate()
           
 int getDuration()
           
 java.lang.String getTrackName()
           
 int getTrackNum()
           
 void go(java.io.File oggFile)
           
(package private)  void init_jorbis()
           
 void init()
           
static void main(java.lang.String[] args)
          Extract media and content metadata, using jorbis lib.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFSIZE

static final int BUFSIZE
See Also:
Constant Field Values

convsize

static int convsize

convbuffer

static byte[] convbuffer

oy

com.jcraft.jogg.SyncState oy

os

com.jcraft.jogg.StreamState os

og

com.jcraft.jogg.Page og

op

com.jcraft.jogg.Packet op

vi

com.jcraft.jorbis.Info vi

vc

com.jcraft.jorbis.Comment vc

vd

com.jcraft.jorbis.DspState vd

vb

com.jcraft.jorbis.Block vb

buffer

byte[] buffer

bytes

int bytes

format

int format

rate

int rate

channels

int channels

left_vol_scale

int left_vol_scale

right_vol_scale

int right_vol_scale

frameSizeInBytes

int frameSizeInBytes

bufferLengthInBytes

int bufferLengthInBytes

trackNum

int trackNum

trackName

java.lang.String trackName

albumName

java.lang.String albumName

artistName

java.lang.String artistName

duration

int duration

bitrate

int bitrate

allComments

java.util.Vector allComments
Constructor Detail

VorbisInfo

public VorbisInfo()
Default Constructor.


VorbisInfo

public VorbisInfo(java.io.File file)
           throws java.io.FileNotFoundException,
                  java.io.IOException
Extract media and content metadata, using jorbis lib

Method Detail

getTrackNum

public int getTrackNum()

getTrackName

public java.lang.String getTrackName()

getAlbumName

public java.lang.String getAlbumName()

getArtistName

public java.lang.String getArtistName()

getDuration

public int getDuration()

getBitrate

public int getBitrate()

getAllComments

public java.util.Vector getAllComments()

main

public static void main(java.lang.String[] args)
Extract media and content metadata, using jorbis lib.


init

public void init()

go

public void go(java.io.File oggFile)
        throws java.io.FileNotFoundException,
               java.io.IOException

extractStandardComments

void extractStandardComments()

init_jorbis

void init_jorbis()