Class 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 Detail

      • FileNamePattern

        public FileNamePattern​(String patternArg,
                               Context contextArg)
        Deprecated.
    • Method Detail

      • hashCode

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

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • hasIntegerTokenCOnverter

        public boolean hasIntegerTokenCOnverter()
        Deprecated.
      • convertMultipleArguments

        public String convertMultipleArguments​(Object... objectList)
        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