Package ch.qos.logback.core.pattern
Class FormatInfo
- java.lang.Object
-
- ch.qos.logback.core.pattern.FormatInfo
-
@Deprecated(since="2022-01-27") public class FormatInfo extends java.lang.ObjectDeprecated.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 FormatInfo()Deprecated.FormatInfo(int min, int max)Deprecated.FormatInfo(int min, int max, boolean leftPad, boolean leftTruncate)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Deprecated.intgetMax()Deprecated.intgetMin()Deprecated.inthashCode()Deprecated.booleanisLeftPad()Deprecated.booleanisLeftTruncate()Deprecated.voidsetLeftPad(boolean leftAlign)Deprecated.voidsetLeftTruncate(boolean leftTruncate)Deprecated.voidsetMax(int max)Deprecated.voidsetMin(int min)Deprecated.java.lang.StringtoString()Deprecated.static FormatInfovalueOf(java.lang.String str)Deprecated.This method is used to parse a string such as "5", ".7", "5.7" or "-5.7" into a FormatInfo.
-
-
-
Method Detail
-
valueOf
public static FormatInfo valueOf(java.lang.String str) throws java.lang.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:
java.lang.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(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-