| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.AbstractOptioncom.puppycrawl.tools.checkstyle.checks.LineSeparatorOptionpublic final class LineSeparatorOptionextends AbstractOptionNewlineAtEndOfFileCheckField Summary | |
static LineSeparatorOption |
|
static LineSeparatorOption |
|
static LineSeparatorOption |
|
static LineSeparatorOption |
|
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.AbstractOption | |
decode, getStrToOpt, readResolve, toString | |
public int length()
- Returns:
- the length of the file separator, e.g. 1 for CR, 2 for CRLF, ...
public boolean matches(byte[] aBytes)
- Parameters:
aBytes- a bytes array to check
- Returns:
- if aBytes is equal to the byte representation of this line separator
| Back to the Checkstyle Home Page |