|
||||||||||
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.Mp4Encoder
public class Mp4Encoder
The Class Mp4Encoder.
Field Summary | |
---|---|
static java.lang.String |
ALBUM
The Constant ALBUM. |
static java.lang.String |
ARTIST
The Constant ARTIST. |
static java.lang.String |
OGGENC
The Constant OGGENC. |
static java.lang.String |
OUTPUT
The Constant OUTPUT. |
static java.lang.String |
QUALITY
The Constant QUALITY. |
static java.lang.String |
TITLE
The Constant TITLE. |
static java.lang.String |
VERSION
The Constant VERSION. |
static java.lang.String |
WRAP
The Constant WRAP. |
Constructor Summary | |
---|---|
Mp4Encoder()
|
Method Summary | |
---|---|
boolean |
encode(java.io.File wavFile,
java.io.File mp4File,
java.lang.String title,
int trackNumber,
java.lang.String artist,
java.lang.String composer)
Encode the wav file and tags it using entagged. |
java.lang.String |
getAlbum()
Gets the album. |
java.lang.String |
getAlbumArtist()
Gets the album artist. |
java.lang.String |
getExtensionOfEncodedFiles()
Gets the extension of encoded files. |
java.lang.String |
getGenre()
Gets the genre. |
int |
getYear()
Gets the year. |
void |
setAlbum(java.lang.String album)
Sets the album. |
void |
setAlbumArtist(java.lang.String albumArtist)
Sets the album artist. |
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. |
static boolean |
testTool()
Test the presence of the ogg encoder oggenc. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OGGENC
public static final java.lang.String OUTPUT
public static final java.lang.String WRAP
public static final java.lang.String TITLE
public static final java.lang.String ARTIST
public static final java.lang.String ALBUM
public static final java.lang.String QUALITY
public static final java.lang.String VERSION
Constructor Detail |
---|
public Mp4Encoder()
Method Detail |
---|
public static boolean testTool()
public boolean encode(java.io.File wavFile, java.io.File mp4File, java.lang.String title, int trackNumber, java.lang.String artist, java.lang.String composer)
encode
in interface Encoder
wavFile
- The filename and path of the wav file that should be encodedmp4File
- 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 songartist
- the artistcomposer
- the composer
public java.lang.String getAlbum()
public java.lang.String getAlbumArtist()
public java.lang.String getExtensionOfEncodedFiles()
getExtensionOfEncodedFiles
in interface Encoder
public java.lang.String getGenre()
public int getYear()
public void setAlbum(java.lang.String album)
Encoder
setAlbum
in interface Encoder
album
- the new albumpublic void setAlbumArtist(java.lang.String albumArtist)
albumArtist
- the albumArtist to setpublic 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 |