public static interface LineEnding.Policy extends Serializable, NoLambda
A policy for line endings which can vary based on the specific file being requested.
NoLambda.EqualityBasedOnSerialization| Modifier and Type | Method and 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.
|