Class 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 accumulated Properties
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 accumulated Properties