Package com.diffplug.spotless
Interface FormatterFunc.NeedsFile
-
- All Superinterfaces:
FormatterFunc
- Enclosing interface:
- FormatterFunc
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface FormatterFunc.NeedsFile extends FormatterFunc
- See Also:
FormatterFunc.needsFile(NeedsFile)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.diffplug.spotless.FormatterFunc
FormatterFunc.Closeable, FormatterFunc.NeedsFile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
apply(java.lang.String unix)
default java.lang.String
apply(java.lang.String unix, java.io.File file)
java.lang.String
applyWithFile(java.lang.String unix, java.io.File file)
-
-
-
Method Detail
-
applyWithFile
java.lang.String applyWithFile(java.lang.String unix, java.io.File file) throws java.lang.Exception
- Throws:
java.lang.Exception
-
apply
default java.lang.String apply(java.lang.String unix, java.io.File file) throws java.lang.Exception
- Specified by:
apply
in interfaceFormatterFunc
- Throws:
java.lang.Exception
-
apply
default java.lang.String apply(java.lang.String unix) throws java.lang.Exception
- Specified by:
apply
in interfaceFormatterFunc
- Throws:
java.lang.Exception
-
-