Package org.apache.pdfbox.jbig2.image
Enum FilterType
- java.lang.Object
-
- java.lang.Enum<FilterType>
-
- org.apache.pdfbox.jbig2.image.FilterType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FilterType>
public enum FilterType extends java.lang.Enum<FilterType>
A FilterType enum for defining certain downscale filters to apply.
-
-
Field Summary
Fields Modifier and Type Field Description private static FilterType
defaultFilter
-
Constructor Summary
Constructors Modifier Constructor Description private
FilterType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilterType
getDefaultFilterType()
static void
setDefaultFilterType(FilterType defaultFilter)
static FilterType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FilterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bessel
public static final FilterType Bessel
-
Blackman
public static final FilterType Blackman
-
Box
public static final FilterType Box
-
Catrom
public static final FilterType Catrom
-
Cubic
public static final FilterType Cubic
-
Gaussian
public static final FilterType Gaussian
-
Hamming
public static final FilterType Hamming
-
Hanning
public static final FilterType Hanning
-
Hermite
public static final FilterType Hermite
-
Lanczos
public static final FilterType Lanczos
-
Mitchell
public static final FilterType Mitchell
-
Point
public static final FilterType Point
-
Quadratic
public static final FilterType Quadratic
-
Sinc
public static final FilterType Sinc
-
Triangle
public static final FilterType Triangle
-
-
Field Detail
-
defaultFilter
private static FilterType defaultFilter
-
-
Method Detail
-
values
public static FilterType[] 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 (FilterType c : FilterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterType 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 namejava.lang.NullPointerException
- if the argument is null
-
setDefaultFilterType
public static void setDefaultFilterType(FilterType defaultFilter)
-
getDefaultFilterType
public static FilterType getDefaultFilterType()
-
-