it.geosolutions.imageio.plugins.jp2k.box
Enum FileTypeBox.JPEG2000FileType

Object
  extended by Enum<FileTypeBox.JPEG2000FileType>
      extended by FileTypeBox.JPEG2000FileType
All Implemented Interfaces:
Serializable, Comparable<FileTypeBox.JPEG2000FileType>
Enclosing class:
FileTypeBox

public static enum FileTypeBox.JPEG2000FileType
extends Enum<FileTypeBox.JPEG2000FileType>

Define possible compatibilites for JPEG2000 files

Author:
Simone Giannecchini, GeoSolutions

Enum Constant Summary
JP2
           
JPX
           
JPXB
           
UNSPECIFIED
           
 
Method Summary
 int toInt()
           
static FileTypeBox.JPEG2000FileType valueOf(int compatibility)
           
static FileTypeBox.JPEG2000FileType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FileTypeBox.JPEG2000FileType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

JP2

public static final FileTypeBox.JPEG2000FileType JP2

JPX

public static final FileTypeBox.JPEG2000FileType JPX

JPXB

public static final FileTypeBox.JPEG2000FileType JPXB

UNSPECIFIED

public static final FileTypeBox.JPEG2000FileType UNSPECIFIED
Method Detail

values

public static FileTypeBox.JPEG2000FileType[] 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 (FileTypeBox.JPEG2000FileType c : FileTypeBox.JPEG2000FileType.values())
    System.out.println(c);

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

valueOf

public static FileTypeBox.JPEG2000FileType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static FileTypeBox.JPEG2000FileType valueOf(int compatibility)

toInt

public int toInt()


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.