|
||||||||||
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.NeroAacEncoder
public class NeroAacEncoder
The Class NeroAacEncoder.
Field Summary | |
---|---|
static java.lang.String |
IGNORE_LENGTH
The Constant IGNORE_LENGTH. |
static java.lang.String |
INPUT
The Constant INPUT. |
static java.lang.String |
NERO_AAC
The Constant NERO_AAC. |
static java.lang.String |
OUTPUT
The Constant OUTPUT. |
static java.lang.String |
QUALITY
The Constant QUALITY. |
static java.lang.String |
VERSION
The Constant VERSION. |
Constructor Summary | |
---|---|
NeroAacEncoder()
|
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 |
getExtensionOfEncodedFiles()
Gets the extension of encoded files. |
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 NERO_AAC
public static final java.lang.String IGNORE_LENGTH
public static final java.lang.String INPUT
public static final java.lang.String OUTPUT
public static final java.lang.String QUALITY
public static final java.lang.String VERSION
Constructor Detail |
---|
public NeroAacEncoder()
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 getExtensionOfEncodedFiles()
getExtensionOfEncodedFiles
in interface Encoder
public void setAlbum(java.lang.String album)
Encoder
setAlbum
in interface Encoder
album
- the new albumpublic void setAlbumArtist(java.lang.String albumArtist)
albumArtist
- the new album artistpublic 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 |