Class FileNamePattern
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.rolling.helper.FileNamePattern
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class FileNamePattern extends ContextAwareBase
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.After parsing file name patterns, given a number or a date, instances of this class can be used to compute a file name according to the file name pattern and the current date or integer.
-
-
Constructor Summary
Constructors Constructor Description FileNamePattern(java.lang.String patternArg, Context contextArg)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
convert(java.lang.Object o)
Deprecated.java.lang.String
convertInt(int i)
Deprecated.java.lang.String
convertMultipleArguments(java.lang.Object... objectList)
Deprecated.boolean
equals(java.lang.Object obj)
Deprecated.IntegerTokenConverter
getIntegerTokenConverter()
Deprecated.java.lang.String
getPattern()
Deprecated.DateTokenConverter<java.lang.Object>
getPrimaryDateTokenConverter()
Deprecated.int
hashCode()
Deprecated.boolean
hasIntegerTokenCOnverter()
Deprecated.void
setPattern(java.lang.String pattern)
Deprecated.java.lang.String
toRegex()
Deprecated.Given date, convert this instance to a regular expressionjava.lang.String
toRegexForFixedDate(java.util.Date date)
Deprecated.Given date, convert this instance to a regular expression.java.lang.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
FileNamePattern
public FileNamePattern(java.lang.String patternArg, Context contextArg)
Deprecated.
-
-
Method Detail
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
getPrimaryDateTokenConverter
public DateTokenConverter<java.lang.Object> getPrimaryDateTokenConverter()
Deprecated.
-
getIntegerTokenConverter
public IntegerTokenConverter getIntegerTokenConverter()
Deprecated.
-
hasIntegerTokenCOnverter
public boolean hasIntegerTokenCOnverter()
Deprecated.
-
convertMultipleArguments
public java.lang.String convertMultipleArguments(java.lang.Object... objectList)
Deprecated.
-
convert
public java.lang.String convert(java.lang.Object o)
Deprecated.
-
convertInt
public java.lang.String convertInt(int i)
Deprecated.
-
setPattern
public void setPattern(java.lang.String pattern)
Deprecated.
-
getPattern
public java.lang.String getPattern()
Deprecated.
-
toRegexForFixedDate
public java.lang.String toRegexForFixedDate(java.util.Date date)
Deprecated.Given date, convert this instance to a regular expression. Used to compute sub-regex when the pattern has both %d and %i, and the date is known.
-
toRegex
public java.lang.String toRegex()
Deprecated.Given date, convert this instance to a regular expression
-
-