Package com.diffplug.spotless
Interface LineEnding.Policy
- All Superinterfaces:
NoLambda
,Serializable
- Enclosing class:
- LineEnding
A policy for line endings which can vary based on the specific file being requested.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.diffplug.spotless.NoLambda
NoLambda.EqualityBasedOnSerialization
-
Method Summary
Modifier and TypeMethodDescriptiongetEndingFor
(File file) Returns the line ending appropriate for the given file.default boolean
Returns true iff this file has unix line endings.
-
Method Details
-
getEndingFor
Returns the line ending appropriate for the given file. -
isUnix
Returns true iff this file has unix line endings.
-