Package com.diffplug.spotless
Interface LineEnding.Policy
-
- All Superinterfaces:
NoLambda
,Serializable
- Enclosing class:
- LineEnding
public static interface LineEnding.Policy extends Serializable, NoLambda
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getEndingFor(File file)
Returns the line ending appropriate for the given file.default boolean
isUnix(File file)
Returns true iff this file has unix line endings.
-