net.sourceforge.atunes.kernel.modules.cdripper
Class CdRipper

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.cdripper.CdRipper

public class CdRipper
extends java.lang.Object

The Class CdRipper.


Field Summary
static java.lang.String ALBUM_PATTERN
          The Constant ALBUM_PATTERN.
static java.lang.String ARTIST_PATTERN
          The Constant ARTIST_PATTERN.
static java.lang.String TITLE_PATTERN
          The Constant TITLE_PATTERN.
static java.lang.String TRACK_NUMBER
          The Constant TRACK_NUMBER.
 
Constructor Summary
CdRipper()
          Instantiates a new cd ripper.
 
Method Summary
 CDInfo getCDInfo()
          Gets the cD info.
 boolean ripTracks(java.util.List<java.lang.Integer> tracks, java.util.List<java.lang.String> titles, java.io.File folder, java.util.List<java.lang.String> artistNames, java.util.List<java.lang.String> composerNames)
          Rip tracks.
 void setAlbum(java.lang.String album)
          Sets the album.
 void setArtist(java.lang.String artist)
          Sets the artist.
 void setDecoderListener(ProgressListener listener)
          Sets the decoder listener.
 void setEncoder(Encoder encoder)
          Sets the encoder.
 void setEncoderListener(EncoderProgressListener listener)
          Sets the encoder listener.
 void setFileNamePattern(java.lang.String fileNamePattern)
          Sets the file name pattern.
 void setGenre(java.lang.String genre)
          Sets the genre.
 void setNoCdListener(NoCdListener listener)
          Sets the no cd listener.
 void setTotalProgressListener(ProgressListener listener)
          Sets the total progress listener.
 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
 

Field Detail

ARTIST_PATTERN

public static final java.lang.String ARTIST_PATTERN
The Constant ARTIST_PATTERN.

See Also:
Constant Field Values

ALBUM_PATTERN

public static final java.lang.String ALBUM_PATTERN
The Constant ALBUM_PATTERN.

See Also:
Constant Field Values

TITLE_PATTERN

public static final java.lang.String TITLE_PATTERN
The Constant TITLE_PATTERN.

See Also:
Constant Field Values

TRACK_NUMBER

public static final java.lang.String TRACK_NUMBER
The Constant TRACK_NUMBER.

See Also:
Constant Field Values
Constructor Detail

CdRipper

public CdRipper()
Instantiates a new cd ripper.

Method Detail

getCDInfo

public CDInfo getCDInfo()
Gets the cD info.

Returns:
the cD info

ripTracks

public boolean ripTracks(java.util.List<java.lang.Integer> tracks,
                         java.util.List<java.lang.String> titles,
                         java.io.File folder,
                         java.util.List<java.lang.String> artistNames,
                         java.util.List<java.lang.String> composerNames)
Rip tracks.

Parameters:
tracks - the tracks
titles - the titles
folder - the folder
artistNames - the artist names
composerNames - the composer names
Returns:
true, if successful

setAlbum

public void setAlbum(java.lang.String album)
Sets the album.

Parameters:
album - the new album

setArtist

public void setArtist(java.lang.String artist)
Sets the artist.

Parameters:
artist - the new artist

setDecoderListener

public void setDecoderListener(ProgressListener listener)
Sets the decoder listener.

Parameters:
listener - the new decoder listener

setEncoder

public void setEncoder(Encoder encoder)
Sets the encoder.

Parameters:
encoder - the new encoder

setEncoderListener

public void setEncoderListener(EncoderProgressListener listener)
Sets the encoder listener.

Parameters:
listener - the new encoder listener

setFileNamePattern

public void setFileNamePattern(java.lang.String fileNamePattern)
Sets the file name pattern.

Parameters:
fileNamePattern - the new file name pattern

setGenre

public void setGenre(java.lang.String genre)
Sets the genre.

Parameters:
genre - the new genre

setNoCdListener

public void setNoCdListener(NoCdListener listener)
Sets the no cd listener.

Parameters:
listener - the new no cd listener

setTotalProgressListener

public void setTotalProgressListener(ProgressListener listener)
Sets the total progress listener.

Parameters:
listener - the new total progress listener

setYear

public void setYear(int year)
Sets the year.

Parameters:
year - the new year

stop

public void stop()
Stop.



Copyright © 2006-2008 The aTunes Team. All Rights Reserved.