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(String patternArg, Context contextArg)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
convert(Object o)
Deprecated.String
convertInt(int i)
Deprecated.String
convertMultipleArguments(Object... objectList)
Deprecated.boolean
equals(Object obj)
Deprecated.IntegerTokenConverter
getIntegerTokenConverter()
Deprecated.String
getPattern()
Deprecated.DateTokenConverter<Object>
getPrimaryDateTokenConverter()
Deprecated.int
hashCode()
Deprecated.boolean
hasIntegerTokenCOnverter()
Deprecated.void
setPattern(String pattern)
Deprecated.String
toRegex()
Deprecated.Given date, convert this instance to a regular expressionString
toRegexForFixedDate(Date date)
Deprecated.Given date, convert this instance to a regular expression.String
toString()
Deprecated.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
getPrimaryDateTokenConverter
public DateTokenConverter<Object> getPrimaryDateTokenConverter()
Deprecated.
-
getIntegerTokenConverter
public IntegerTokenConverter getIntegerTokenConverter()
Deprecated.
-
hasIntegerTokenCOnverter
public boolean hasIntegerTokenCOnverter()
Deprecated.
-
convertInt
public String convertInt(int i)
Deprecated.
-
setPattern
public void setPattern(String pattern)
Deprecated.
-
getPattern
public String getPattern()
Deprecated.
-
toRegexForFixedDate
public String toRegexForFixedDate(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 String toRegex()
Deprecated.Given date, convert this instance to a regular expression
-
-