Class FormatInfo

java.lang.Object
ch.qos.logback.core.pattern.FormatInfo

@Deprecated(since="2022-01-27") public class FormatInfo extends Object
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
    FormatInfo(int min, int max)
    Deprecated.
     
    FormatInfo(int min, int max, boolean leftPad, boolean leftTruncate)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    int
    Deprecated.
     
    int
    Deprecated.
     
    boolean
    Deprecated.
     
    boolean
    Deprecated.
     
    void
    setLeftPad(boolean leftAlign)
    Deprecated.
     
    void
    setLeftTruncate(boolean leftTruncate)
    Deprecated.
     
    void
    setMax(int max)
    Deprecated.
     
    void
    setMin(int min)
    Deprecated.
     
    Deprecated.
     
    static FormatInfo
    Deprecated.
    This method is used to parse a string such as "5", ".7", "5.7" or "-5.7" into a FormatInfo.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FormatInfo

      public FormatInfo()
      Deprecated.
    • FormatInfo

      public FormatInfo(int min, int max)
      Deprecated.
    • FormatInfo

      public FormatInfo(int min, int max, boolean leftPad, boolean leftTruncate)
      Deprecated.
  • Method Details

    • valueOf

      public static FormatInfo valueOf(String str) throws IllegalArgumentException
      Deprecated.
      This method is used to parse a string such as "5", ".7", "5.7" or "-5.7" into a FormatInfo.
      Parameters:
      str - A String to convert into a FormatInfo object
      Returns:
      A newly created and appropriately initialized FormatInfo object.
      Throws:
      IllegalArgumentException
    • isLeftPad

      public boolean isLeftPad()
      Deprecated.
    • setLeftPad

      public void setLeftPad(boolean leftAlign)
      Deprecated.
    • getMax

      public int getMax()
      Deprecated.
    • setMax

      public void setMax(int max)
      Deprecated.
    • getMin

      public int getMin()
      Deprecated.
    • setMin

      public void setMin(int min)
      Deprecated.
    • isLeftTruncate

      public boolean isLeftTruncate()
      Deprecated.
    • setLeftTruncate

      public void setLeftTruncate(boolean leftTruncate)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object