public enum LineEndingsStripper extends Enum<LineEndingsStripper> implements Stripper
| Enum Constant and Description |
|---|
INSTANCE
Singleton.
|
| Modifier and Type | Method and Description |
|---|---|
void |
strip(File in,
File out)
Strips non-reproducible data.
|
static LineEndingsStripper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineEndingsStripper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineEndingsStripper INSTANCE
public static LineEndingsStripper[] values()
for (LineEndingsStripper c : LineEndingsStripper.values()) System.out.println(c);
public static LineEndingsStripper 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 nullpublic void strip(File in, File out) throws IOException
Stripperstrip in interface Stripperin - the input file.out - the stripped output file.IOException - if an I/O error occurs.Copyright © 2015–1970. All rights reserved.