org.mmbase.applications.media
Class Format

java.lang.Object
  extended byorg.mmbase.applications.media.Format

public final class Format
extends java.lang.Object

Makes the 'Format' constants available.

Since:
MMBase-1.7
Version:
$Id: Format.java,v 1.12 2003/11/13 18:20:43 michiel Exp $
Author:
Michiel Meeuwissen

Field Summary
static Format ASF
           
static Format AVI
           
static Format HTML
           
static Format MOV
           
static Format MP2
           
static Format MP3
           
static Format MP4
           
static Format MPEG
           
static Format MPG
           
static Format OGG
           
static Format OGM
           
static Format PCM
           
static Format QT
           
static Format RA
           
static Format RAM
           
static java.lang.String RESOURCE
           
static Format RM
           
static Format SMIL
           
static Format UNKNOWN
           
static Format VOB
           
static Format WAV
           
static Format WMA
           
static Format WMP
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static Format get(int i)
           
static Format get(java.lang.String id)
           
 java.lang.String getGUIIndicator(java.util.Locale locale)
           
static java.util.List getMediaFormats()
          don't know if this is nice
 java.util.List getSimilar()
           
 boolean isReal()
           
 boolean isWindowsMedia()
           
 int toInt()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

public static final java.lang.String RESOURCE
See Also:
Constant Field Values

UNKNOWN

public static final Format UNKNOWN

MP3

public static final Format MP3

RA

public static final Format RA

WAV

public static final Format WAV

PCM

public static final Format PCM

MP2

public static final Format MP2

RM

public static final Format RM

VOB

public static final Format VOB

AVI

public static final Format AVI

MPEG

public static final Format MPEG

MP4

public static final Format MP4

MPG

public static final Format MPG

ASF

public static final Format ASF

MOV

public static final Format MOV

WMA

public static final Format WMA

OGG

public static final Format OGG

OGM

public static final Format OGM

RAM

public static final Format RAM

WMP

public static final Format WMP

HTML

public static final Format HTML

SMIL

public static final Format SMIL

QT

public static final Format QT
Method Detail

toInt

public int toInt()

toString

public java.lang.String toString()

get

public static Format get(int i)

getMediaFormats

public static java.util.List getMediaFormats()
don't know if this is nice


get

public static Format get(java.lang.String id)

getGUIIndicator

public java.lang.String getGUIIndicator(java.util.Locale locale)

isReal

public boolean isReal()

isWindowsMedia

public boolean isWindowsMedia()

getSimilar

public java.util.List getSimilar()

equals

public boolean equals(java.lang.Object o)


MMBase build 1.7.1.20041002