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 Stringconvert(Object o)Deprecated.StringconvertInt(int i)Deprecated.StringconvertMultipleArguments(Object... objectList)Deprecated.booleanequals(Object obj)Deprecated.IntegerTokenConvertergetIntegerTokenConverter()Deprecated.StringgetPattern()Deprecated.DateTokenConverter<Object>getPrimaryDateTokenConverter()Deprecated.inthashCode()Deprecated.booleanhasIntegerTokenCOnverter()Deprecated.voidsetPattern(String pattern)Deprecated.StringtoRegex()Deprecated.Given date, convert this instance to a regular expressionStringtoRegexForFixedDate(Date date)Deprecated.Given date, convert this instance to a regular expression.StringtoString()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
-
-