public enum LineEnding extends Enum<LineEnding>
| Enum Constant and Description |
|---|
CR
Carriage Return
|
CRLF
Carriage Return / Line Feed
|
LF
Line Feed
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_NAME
JHOVE reporting property name
|
int |
textMdVal
The TextMD line-break type, an int index to a message array
|
| Modifier and Type | Method and Description |
|---|---|
static LineEnding |
fromControlChars(ControlChar lastChar,
ControlChar prevChar)
Performs JHOVE's line ending type test, using the last 2 read characters.
|
static LineEnding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineEnding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineEnding CR
public static final LineEnding LF
public static final LineEnding CRLF
public static final String PROP_NAME
public final int textMdVal
public static LineEnding[] values()
for (LineEnding c : LineEnding.values()) System.out.println(c);
public static LineEnding 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 static LineEnding fromControlChars(ControlChar lastChar, ControlChar prevChar)
lastChar - the last character read from streamprevChar - the previous character to the lastCharCopyright © 2008–2021 The Open Preservation Foundation. All rights reserved.