Uses of Enum Class
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 LineSeparatorOptionNewlineAtEndOfFileCheck.lineSeparatorSpecify the type of line separator.Methods in com.puppycrawl.tools.checkstyle.checks that return LineSeparatorOptionModifier and TypeMethodDescriptionstatic LineSeparatorOptionReturns the enum constant of this class with the specified name.static LineSeparatorOption[]LineSeparatorOption.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type LineSeparatorOptionModifier and TypeMethodDescriptionprivate static booleanNewlineAtEndOfFileCheck.endsWithNewline(RandomAccessFile file, LineSeparatorOption separator) Checks whether the content provided by the Reader ends with the platform specific line separator.