Package com.diffplug.spotless
Class FormatterProperties
- java.lang.Object
-
- com.diffplug.spotless.FormatterProperties
-
public final class FormatterProperties extends java.lang.Object
Utility manages settings of formatter configured by properties.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormatterProperties
from(java.io.File... files)
Import settings from a sequence of files (file import is the given order)static FormatterProperties
from(java.lang.Iterable<java.io.File> files)
Import settings from a sequence of files (file import is the given order)java.util.Properties
getProperties()
Returns the accumulatedProperties
-
-
-
Method Detail
-
from
public static FormatterProperties from(java.io.File... files) throws java.lang.IllegalArgumentException
Import settings from a sequence of files (file import is the given order)- Parameters:
files
- Sequence of files- Throws:
java.lang.IllegalArgumentException
- In case the import of a file fails
-
from
public static FormatterProperties from(java.lang.Iterable<java.io.File> files) throws java.lang.IllegalArgumentException
Import settings from a sequence of files (file import is the given order)- Parameters:
files
- Sequence of files- Throws:
java.lang.IllegalArgumentException
- In case the import of a file fails
-
getProperties
public java.util.Properties getProperties()
Returns the accumulatedProperties
-
-