|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.cdripper.encoders.WavEncoder
public class WavEncoder
The Class WavEncoder.
Constructor Summary | |
---|---|
WavEncoder()
|
Method Summary | |
---|---|
boolean |
encode(java.io.File wavFile,
java.io.File wavFile2,
java.lang.String title,
int trackNumber,
java.lang.String artists,
java.lang.String composer)
Encode the wav file and tags it using entagged. |
java.lang.String |
getExtensionOfEncodedFiles()
Gets the extension of encoded files. |
void |
setAlbum(java.lang.String album)
Sets the album. |
void |
setArtist(java.lang.String artist)
Sets the artist. |
void |
setGenre(java.lang.String genre)
Sets the genre. |
void |
setListener(EncoderProgressListener listener)
Sets the listener. |
void |
setQuality(java.lang.String quality)
Sets the quality. |
void |
setYear(int year)
Sets the year. |
void |
stop()
Stop. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WavEncoder()
Method Detail |
---|
public boolean encode(java.io.File wavFile, java.io.File wavFile2, java.lang.String title, int trackNumber, java.lang.String artists, java.lang.String composer)
encode
in interface Encoder
wavFile
- The filename and path of the wav file that should be encodedwavFile2
- The name of the new file to be createdtitle
- The title of the song (only title, not artist and album)trackNumber
- The track number of the songartists
- the artistscomposer
- the composer
public java.lang.String getExtensionOfEncodedFiles()
getExtensionOfEncodedFiles
in interface Encoder
public void setAlbum(java.lang.String album)
Encoder
setAlbum
in interface Encoder
album
- the new albumpublic void setArtist(java.lang.String artist)
Encoder
setArtist
in interface Encoder
artist
- the new artistpublic void setGenre(java.lang.String genre)
Encoder
setGenre
in interface Encoder
genre
- the new genrepublic void setListener(EncoderProgressListener listener)
Encoder
setListener
in interface Encoder
listener
- the new listenerpublic void setQuality(java.lang.String quality)
Encoder
setQuality
in interface Encoder
quality
- the new qualitypublic void setYear(int year)
Encoder
setYear
in interface Encoder
year
- the new yearpublic void stop()
Encoder
stop
in interface Encoder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |