- java.lang.Object
-
- java.lang.Enum<Controller.SaveMode>
-
- org.icepdf.ri.common.views.Controller.SaveMode
-
- All Implemented Interfaces:
Serializable,Comparable<Controller.SaveMode>
- Enclosing interface:
- Controller
public static enum Controller.SaveMode extends Enum<Controller.SaveMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Controller.SaveModevalueOf(String name)Returns the enum constant of this type with the specified name.static Controller.SaveMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAVE
public static final Controller.SaveMode SAVE
Saves document in place overwriting the original file. All changes are appended to the end of the file using an incremental update write mode.
-
SAVE_AS
public static final Controller.SaveMode SAVE_AS
Saves document and any changes to a new file. All changes are appended to the end of the file using an incremental update write mode.
-
EXPORT
public static final Controller.SaveMode EXPORT
Exports document and any changes to a new file. Document is completely rewritten, removing all previously modified object that may have occurred during an incremental update(s) full update write mode.
-
-
Method Detail
-
values
public static Controller.SaveMode[] 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 (Controller.SaveMode c : Controller.SaveMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Controller.SaveMode 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
-
-