public static enum JarBuilder.DuplicateAction extends Enum<JarBuilder.DuplicateAction>
| Enum Constant and Description |
|---|
CONCAT
This action appends the content of the duplicate entry to the original entry.
|
CONCAT_TEXT
Same as CONCAT, but treats these entries as newline delimited text files.
|
REPLACE
This action replaces the original entry with the duplicate entry.
|
SKIP
This action skips the duplicate entry keeping the original entry.
|
THROW
This action throws a
JarBuilder.DuplicateEntryException. |
| Modifier and Type | Method and Description |
|---|---|
static JarBuilder.DuplicateAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JarBuilder.DuplicateAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JarBuilder.DuplicateAction SKIP
public static final JarBuilder.DuplicateAction REPLACE
public static final JarBuilder.DuplicateAction CONCAT
public static final JarBuilder.DuplicateAction CONCAT_TEXT
public static final JarBuilder.DuplicateAction THROW
JarBuilder.DuplicateEntryException.public static JarBuilder.DuplicateAction[] values()
for (JarBuilder.DuplicateAction c : JarBuilder.DuplicateAction.values()) System.out.println(c);
public static JarBuilder.DuplicateAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null