Copyright 2011-01-06 Werner Randelshofer

ch.randelshofer.media.quicktime
Enum QuickTimeWriter.VideoFormat

java.lang.Object
  extended by java.lang.Enum<QuickTimeWriter.VideoFormat>
      extended by ch.randelshofer.media.quicktime.QuickTimeWriter.VideoFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<QuickTimeWriter.VideoFormat>
Enclosing class:
QuickTimeWriter

public static enum QuickTimeWriter.VideoFormat
extends java.lang.Enum<QuickTimeWriter.VideoFormat>

Built-in video formats.


Enum Constant Summary
JPG
          Photo-JPEG encoded video frames (lossy).
PNG
          PNG encoded video frames (lossless).
RAW
          Raw video frames (lossless and uncompressed).
RLE
          Apple Animation (RLE) encoded video frames (lossless).
 
Method Summary
static QuickTimeWriter.VideoFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QuickTimeWriter.VideoFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RAW

public static final QuickTimeWriter.VideoFormat RAW
Raw video frames (lossless and uncompressed).


JPG

public static final QuickTimeWriter.VideoFormat JPG
Photo-JPEG encoded video frames (lossy).


PNG

public static final QuickTimeWriter.VideoFormat PNG
PNG encoded video frames (lossless).


RLE

public static final QuickTimeWriter.VideoFormat RLE
Apple Animation (RLE) encoded video frames (lossless).

Method Detail

values

public static QuickTimeWriter.VideoFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (QuickTimeWriter.VideoFormat c : QuickTimeWriter.VideoFormat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QuickTimeWriter.VideoFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Copyright 2011-01-06 Werner Randelshofer