|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavazoom.jlgui.player.amp.tag.APEInfo
public class APEInfo
This class gives information (audio format and comments) about APE file or URL.
| Field Summary | |
|---|---|
protected java.lang.String |
album
|
protected java.lang.String |
author
|
protected int |
bitrate
|
protected int |
bitspersample
|
protected int |
blocksperframe
|
protected int |
channels
|
protected java.lang.String |
comment
|
protected java.lang.String |
compressionlevel
|
protected java.lang.String |
copyright
|
protected java.util.Date |
date
|
protected long |
duration
|
protected int |
finalframeblocks
|
protected java.lang.String |
genre
|
protected java.lang.String |
location
|
protected int |
peaklevel
|
protected int |
samplerate
|
protected long |
size
|
protected java.lang.String |
title
|
protected int |
totalblocks
|
protected int |
totalframes
|
protected java.lang.String |
track
|
protected int |
version
|
| Constructor Summary | |
|---|---|
APEInfo()
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlbum()
Get the name of the album upon which the song resides |
java.lang.String |
getArtist()
Get the artist that performed the song |
int |
getBitRate()
Get Nominal Bitrate |
int |
getBitsPerSample()
|
int |
getBlocksperframe()
|
int |
getChannels()
Get channels. |
java.util.Vector |
getComment()
Get any comments provided about the song |
java.lang.String |
getCompressionlevel()
|
java.lang.String |
getCopyright()
|
int |
getFinalframeblocks()
|
java.lang.String |
getGenre()
Get the genre string of the music |
java.lang.String |
getLocation()
|
int |
getPeaklevel()
|
long |
getPlayTime()
Get play time in seconds. |
int |
getSamplingRate()
Get Sampling Rate |
long |
getSize()
|
java.lang.String |
getTitle()
Get the title of the song. |
int |
getTotalblocks()
|
int |
getTotalframes()
|
int |
getTrack()
Get the track number of this track on the album |
int |
getVersion()
|
java.lang.String |
getYear()
Get the year the track was released |
void |
load(java.io.File input)
Load and parse APE info from File. |
void |
load(java.io.InputStream input)
Load and parse APE info from InputStream. |
void |
load(java.net.URL input)
Load and parse APE info from URL. |
protected void |
loadInfo(javax.sound.sampled.AudioFileFormat aff)
Load APE info from AudioFileFormat. |
protected void |
loadInfo(java.io.File file)
Load APE info from file. |
protected void |
loadInfo(java.io.InputStream input)
Load APE info from input stream. |
protected void |
loadInfo(java.net.URL input)
Load APE info from URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int channels
protected int bitspersample
protected int samplerate
protected int bitrate
protected int version
protected java.lang.String compressionlevel
protected int totalframes
protected int blocksperframe
protected int finalframeblocks
protected int totalblocks
protected int peaklevel
protected long duration
protected java.lang.String author
protected java.lang.String title
protected java.lang.String copyright
protected java.util.Date date
protected java.lang.String comment
protected java.lang.String track
protected java.lang.String genre
protected java.lang.String album
protected long size
protected java.lang.String location
| Constructor Detail |
|---|
public APEInfo()
| Method Detail |
|---|
public void load(java.io.File input)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
load in interface TagInfoinput -
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
public void load(java.net.URL input)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
load in interface TagInfoinput -
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
public void load(java.io.InputStream input)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
load in interface TagInfoinput -
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
protected void loadInfo(java.io.InputStream input)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
input -
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
protected void loadInfo(java.io.File file)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
file -
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileException
protected void loadInfo(javax.sound.sampled.AudioFileFormat aff)
throws javax.sound.sampled.UnsupportedAudioFileException
aff -
javax.sound.sampled.UnsupportedAudioFileException
protected void loadInfo(java.net.URL input)
throws java.io.IOException,
javax.sound.sampled.UnsupportedAudioFileException
input -
java.io.IOException
javax.sound.sampled.UnsupportedAudioFileExceptionpublic long getSize()
public java.lang.String getLocation()
public int getVersion()
public java.lang.String getCompressionlevel()
public int getTotalframes()
public int getBlocksperframe()
public int getFinalframeblocks()
public int getChannels()
TagInfo
getChannels in interface TagInfopublic int getSamplingRate()
TagInfo
getSamplingRate in interface TagInfopublic int getBitsPerSample()
public int getTotalblocks()
public long getPlayTime()
TagInfo
getPlayTime in interface TagInfopublic int getBitRate()
TagInfo
getBitRate in interface TagInfopublic int getPeaklevel()
public int getTrack()
TagInfo
getTrack in interface TagInfopublic java.lang.String getYear()
TagInfo
getYear in interface TagInfopublic java.lang.String getGenre()
TagInfo
getGenre in interface TagInfopublic java.lang.String getTitle()
TagInfo
getTitle in interface TagInfopublic java.lang.String getArtist()
TagInfo
getArtist in interface TagInfopublic java.lang.String getAlbum()
TagInfo
getAlbum in interface TagInfopublic java.util.Vector getComment()
TagInfo
getComment in interface TagInfopublic java.lang.String getCopyright()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||