类 FormatterLineAggregator<T>

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      protected java.lang.StringdoAggregate​(java.lang.Object[] fields)
      Aggregate provided fields into single String.
      voidsetFormat​(java.lang.String format)
      Set the format string used to aggregate items.
      voidsetLocale​(java.util.Locale locale)
      Public setter for the locale.
      voidsetMaximumLength​(int maximumLength)
      Public setter for the maximum length of the formatted string.
      voidsetMinimumLength​(int minimumLength)
      Public setter for the minimum length of the formatted string.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • setMinimumLength

        public void setMinimumLength​(int minimumLength)
        Public setter for the minimum length of the formatted string. If this is not set the default is to allow any length.
        参数:
        minimumLength - the minimum length to set
      • setMaximumLength

        public void setMaximumLength​(int maximumLength)
        Public setter for the maximum length of the formatted string. If this is not set the default is to allow any length.
        参数:
        maximumLength - the maximum length to set
      • setFormat

        public void setFormat​(java.lang.String format)
        Set the format string used to aggregate items.
        参数:
        format - String containing the format to use.
        另请参阅:
        Formatter
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Public setter for the locale.
        参数:
        locale - the locale to set