Package com.diffplug.spotless
Class FormatterProperties
java.lang.Object
com.diffplug.spotless.FormatterProperties
Utility manages settings of formatter configured by properties.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormatterPropertiesImport settings from a sequence of files (file import is the given order)static FormatterPropertiesImport settings from a sequence of files (file import is the given order)static FormatterPropertiesfromPropertiesContent(Iterable<String> content) Returns the accumulatedPropertiesstatic FormatterPropertiesmerge(Properties... properties)
-
Method Details
-
from
Import settings from a sequence of files (file import is the given order)- Parameters:
files- Sequence of files- Throws:
IllegalArgumentException- In case the import of a file fails
-
from
Import settings from a sequence of files (file import is the given order)- Parameters:
files- Sequence of files- Throws:
IllegalArgumentException- In case the import of a file fails
-
fromPropertiesContent
public static FormatterProperties fromPropertiesContent(Iterable<String> content) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
merge
-
getProperties
Returns the accumulatedProperties
-