|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NCIReaderSettings.InvalidResolutionHandling> com.levigo.jadice.document.read.NCIReaderSettings.InvalidResolutionHandling
public static enum NCIReaderSettings.InvalidResolutionHandling
This enum contains possible handling-strategies for invalid resolution information found in documents.
Enum Constant Summary | |
---|---|
CLAMP
Clamp the resolution, so that it falls into the range [
|
|
USE_DEFAULT
Replace any invalid resolution that does not fall into the range [
|
Method Summary | |
---|---|
static NCIReaderSettings.InvalidResolutionHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NCIReaderSettings.InvalidResolutionHandling[] |
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 |
---|
public static final NCIReaderSettings.InvalidResolutionHandling CLAMP
[
NCIReaderSettings.getMinimumResolution()
..
NCIReaderSettings.getMaximumResolution()
]
while maintaining the aspect ratio
found in the document.
public static final NCIReaderSettings.InvalidResolutionHandling USE_DEFAULT
[
NCIReaderSettings.getMinimumResolution()
..
NCIReaderSettings.getMaximumResolution()
]
with
NCIReaderSettings.getDefaultResolution()
while maintaining the aspect ratio.
Method Detail |
---|
public static NCIReaderSettings.InvalidResolutionHandling[] values()
for (NCIReaderSettings.InvalidResolutionHandling c : NCIReaderSettings.InvalidResolutionHandling.values()) System.out.println(c);
public static NCIReaderSettings.InvalidResolutionHandling valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |