Uses of Enum
com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption
Packages that use LineSeparatorOption
Package
Description
Contains the checks that are bundled with the main distribution.
-
Uses of LineSeparatorOption in com.puppycrawl.tools.checkstyle.checks
Fields in com.puppycrawl.tools.checkstyle.checks declared as LineSeparatorOptionModifier and TypeFieldDescriptionprivate LineSeparatorOption
NewlineAtEndOfFileCheck.lineSeparator
Specify the type of line separator.Methods in com.puppycrawl.tools.checkstyle.checks that return LineSeparatorOptionModifier and TypeMethodDescriptionstatic LineSeparatorOption
Returns the enum constant of this type with the specified name.static LineSeparatorOption[]
LineSeparatorOption.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type LineSeparatorOptionModifier and TypeMethodDescriptionprivate static boolean
NewlineAtEndOfFileCheck.endsWithNewline
(RandomAccessFile file, LineSeparatorOption separator) Checks whether the content provided by the Reader ends with the platform specific line separator.