it.geosolutions.imageio.plugins.jp2k
Enum JP2KKakaduImageWriteParam.Compression

java.lang.Object
  extended by java.lang.Enum<JP2KKakaduImageWriteParam.Compression>
      extended by it.geosolutions.imageio.plugins.jp2k.JP2KKakaduImageWriteParam.Compression
All Implemented Interfaces:
Serializable, Comparable<JP2KKakaduImageWriteParam.Compression>
Enclosing class:
JP2KKakaduImageWriteParam

public static enum JP2KKakaduImageWriteParam.Compression
extends Enum<JP2KKakaduImageWriteParam.Compression>

Type of compression to better customize the quality specification.


Enum Constant Summary
LOSSY
           
NUMERICALLY_LOSSLESS
           
UNDEFINED
           
 
Method Summary
static JP2KKakaduImageWriteParam.Compression valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JP2KKakaduImageWriteParam.Compression[] 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

NUMERICALLY_LOSSLESS

public static final JP2KKakaduImageWriteParam.Compression NUMERICALLY_LOSSLESS

LOSSY

public static final JP2KKakaduImageWriteParam.Compression LOSSY

UNDEFINED

public static final JP2KKakaduImageWriteParam.Compression UNDEFINED
Method Detail

values

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

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

valueOf

public static JP2KKakaduImageWriteParam.Compression 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


Copyright © 2006–2013 GeoSolutions. All rights reserved.