Package com.norconex.commons.lang.img
Enum MutableImage.Quality
- java.lang.Object
-
- java.lang.Enum<MutableImage.Quality>
-
- com.norconex.commons.lang.img.MutableImage.Quality
-
- All Implemented Interfaces:
Serializable,Comparable<MutableImage.Quality>
- Enclosing class:
- MutableImage
public static enum MutableImage.Quality extends Enum<MutableImage.Quality>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.imgscalr.Scalr.MethodgetScaleMethod()static MutableImage.QualityvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableImage.Quality[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final MutableImage.Quality AUTO
-
LOW
public static final MutableImage.Quality LOW
-
MEDIUM
public static final MutableImage.Quality MEDIUM
-
HIGH
public static final MutableImage.Quality HIGH
-
MAX
public static final MutableImage.Quality MAX
-
-
Method Detail
-
values
public static MutableImage.Quality[] 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 (MutableImage.Quality c : MutableImage.Quality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MutableImage.Quality 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 nameNullPointerException- if the argument is null
-
getScaleMethod
public org.imgscalr.Scalr.Method getScaleMethod()
-
-