com.tuneology.avm
Class FormatPrefs

java.lang.Object
  |
  +--com.tuneology.avm.FormatPrefs

public class FormatPrefs
extends java.lang.Object

Represents the user's preferences for the format and quality of a media file.

Version:
$Id: FormatPrefs.java,v 1.5 2003/05/23 09:42:04 xnarf Exp $
Author:
Fran Taylor

Field Summary
static int AAC_FORMAT
          value for format
static int AIFF_FORMAT
          value for format
static int AU_FORMAT
          value for format
static int CUSTOM_QUALITY
          value for quality
static int DEFAULT_BITRATE
          value for bitRate
static int DEFAULT_QUALITY
          value for quality
static int FLAC_FORMAT
          value for format
static int HIGH_QUALITY
          value for quality
static int LOW_QUALITY
          value for quality
static int MED_QUALITY
          value for quality
static int MONO_MODE
          value for mode
static int MP3_FORMAT
          value for format
static int OGG_FORMAT
          value for format
static int STEREO_MODE
          value for mode
static int WAV_FORMAT
          value for format
static int WMA_FORMAT
          value for format
 
Constructor Summary
FormatPrefs()
           
 
Method Summary
 int getBitRate()
           
 int getFormat()
           
 int getMode()
           
 int getQuality()
           
 void setBitRate(int b)
           
 void setFormat(int f)
           
 void setMode(int m)
           
 void setQuality(int q)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOW_QUALITY

public static final int LOW_QUALITY
value for quality

MED_QUALITY

public static final int MED_QUALITY
value for quality

HIGH_QUALITY

public static final int HIGH_QUALITY
value for quality

DEFAULT_QUALITY

public static final int DEFAULT_QUALITY
value for quality

CUSTOM_QUALITY

public static final int CUSTOM_QUALITY
value for quality

WAV_FORMAT

public static final int WAV_FORMAT
value for format

MP3_FORMAT

public static final int MP3_FORMAT
value for format

OGG_FORMAT

public static final int OGG_FORMAT
value for format

WMA_FORMAT

public static final int WMA_FORMAT
value for format

AIFF_FORMAT

public static final int AIFF_FORMAT
value for format

AU_FORMAT

public static final int AU_FORMAT
value for format

AAC_FORMAT

public static final int AAC_FORMAT
value for format

FLAC_FORMAT

public static final int FLAC_FORMAT
value for format

STEREO_MODE

public static final int STEREO_MODE
value for mode

MONO_MODE

public static final int MONO_MODE
value for mode

DEFAULT_BITRATE

public static final int DEFAULT_BITRATE
value for bitRate
Constructor Detail

FormatPrefs

public FormatPrefs()
Method Detail

getQuality

public int getQuality()

getFormat

public int getFormat()

getBitRate

public int getBitRate()

getMode

public int getMode()

setQuality

public void setQuality(int q)

setFormat

public void setFormat(int f)

setBitRate

public void setBitRate(int b)

setMode

public void setMode(int m)