javazoom.jlgui.player.amp.tag

Class APEInfo

Implemented Interfaces:
TagInfo

public class APEInfo
extends java.lang.Object
implements TagInfo

This class gives information (audio format and comments) about APE file or URL.

Field Summary

protected String
album
protected String
author
protected int
bitrate
protected int
bitspersample
protected int
blocksperframe
protected int
channels
protected String
comment
protected String
compressionlevel
protected String
copyright
protected Date
date
protected long
duration
protected int
finalframeblocks
protected String
genre
protected String
location
protected int
peaklevel
protected int
samplerate
protected long
size
protected String
title
protected int
totalblocks
protected int
totalframes
protected String
track
protected int
version

Constructor Summary

APEInfo()
Constructor.

Method Summary

String
getAlbum()
String
getArtist()
int
getBitRate()
int
getBitsPerSample()
int
getBlocksperframe()
int
getChannels()
Vector
getComment()
String
getCompressionlevel()
String
getCopyright()
int
getFinalframeblocks()
String
getGenre()
String
getLocation()
int
getPeaklevel()
long
getPlayTime()
int
getSamplingRate()
long
getSize()
String
getTitle()
int
getTotalblocks()
int
getTotalframes()
int
getTrack()
int
getVersion()
String
getYear()
void
load(File input)
Load and parse APE info from File.
void
load(InputStream input)
Load and parse APE info from InputStream.
void
load(URL input)
Load and parse APE info from URL.
protected void
loadInfo(AudioFileFormat aff)
Load APE info from AudioFileFormat.
protected void
loadInfo(File file)
Load APE info from file.
protected void
loadInfo(InputStream input)
Load APE info from input stream.
protected void
loadInfo(URL input)
Load APE info from URL.

Field Details

album

protected String album

author

protected String author

bitrate

protected int bitrate

bitspersample

protected int bitspersample

blocksperframe

protected int blocksperframe

channels

protected int channels

comment

protected String comment

compressionlevel

protected String compressionlevel

copyright

protected String copyright

date

protected Date date

duration

protected long duration

finalframeblocks

protected int finalframeblocks

genre

protected String genre

location

protected String location

peaklevel

protected int peaklevel

samplerate

protected int samplerate

size

protected long size

title

protected String title

totalblocks

protected int totalblocks

totalframes

protected int totalframes

track

protected String track

version

protected int version

Constructor Details

APEInfo

public APEInfo()
Constructor.

Method Details

getAlbum

public String getAlbum()
Specified by:
getAlbum in interface TagInfo

getArtist

public String getArtist()
Specified by:
getArtist in interface TagInfo

getBitRate

public int getBitRate()
Specified by:
getBitRate in interface TagInfo

getBitsPerSample

public int getBitsPerSample()

getBlocksperframe

public int getBlocksperframe()

getChannels

public int getChannels()
Specified by:
getChannels in interface TagInfo

getComment

public Vector getComment()
Specified by:
getComment in interface TagInfo

getCompressionlevel

public String getCompressionlevel()

getCopyright

public String getCopyright()

getFinalframeblocks

public int getFinalframeblocks()

getGenre

public String getGenre()
Specified by:
getGenre in interface TagInfo

getLocation

public String getLocation()

getPeaklevel

public int getPeaklevel()

getPlayTime

public long getPlayTime()
Specified by:
getPlayTime in interface TagInfo

getSamplingRate

public int getSamplingRate()
Specified by:
getSamplingRate in interface TagInfo

getSize

public long getSize()

getTitle

public String getTitle()
Specified by:
getTitle in interface TagInfo

getTotalblocks

public int getTotalblocks()

getTotalframes

public int getTotalframes()

getTrack

public int getTrack()
Specified by:
getTrack in interface TagInfo

getVersion

public int getVersion()

getYear

public String getYear()
Specified by:
getYear in interface TagInfo

load

public void load(File input)
            throws IOException,
                   UnsupportedAudioFileException
Load and parse APE info from File.
Specified by:
load in interface TagInfo
Parameters:
input -

load

public void load(InputStream input)
            throws IOException,
                   UnsupportedAudioFileException
Load and parse APE info from InputStream.
Specified by:
load in interface TagInfo
Parameters:
input -

load

public void load(URL input)
            throws IOException,
                   UnsupportedAudioFileException
Load and parse APE info from URL.
Specified by:
load in interface TagInfo
Parameters:
input -

loadInfo

protected void loadInfo(AudioFileFormat aff)
            throws UnsupportedAudioFileException
Load APE info from AudioFileFormat.
Parameters:
aff -

loadInfo

protected void loadInfo(File file)
            throws IOException,
                   UnsupportedAudioFileException
Load APE info from file.
Parameters:
file -

loadInfo

protected void loadInfo(InputStream input)
            throws IOException,
                   UnsupportedAudioFileException
Load APE info from input stream.
Parameters:
input -

loadInfo

protected void loadInfo(URL input)
            throws IOException,
                   UnsupportedAudioFileException
Load APE info from URL.
Parameters:
input -

JavaZOOM 1999-2006