public class FileNamePattern extends ContextAwareBase
Constructor and Description |
---|
FileNamePattern(java.lang.String patternArg,
Context contextArg) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(java.lang.Object o) |
java.lang.String |
convertInt(int i) |
java.lang.String |
convertMultipleArguments(java.lang.Object... objectList) |
boolean |
equals(java.lang.Object obj) |
IntegerTokenConverter |
getIntegerTokenConverter() |
java.lang.String |
getPattern() |
DateTokenConverter<java.lang.Object> |
getPrimaryDateTokenConverter() |
int |
hashCode() |
boolean |
hasIntegerTokenCOnverter() |
void |
setPattern(java.lang.String pattern) |
java.lang.String |
toRegex()
Given date, convert this instance to a regular expression
|
java.lang.String |
toRegexForFixedDate(java.util.Date date)
Given date, convert this instance to a regular expression.
|
java.lang.String |
toString() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public FileNamePattern(java.lang.String patternArg, Context contextArg)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DateTokenConverter<java.lang.Object> getPrimaryDateTokenConverter()
public IntegerTokenConverter getIntegerTokenConverter()
public boolean hasIntegerTokenCOnverter()
public java.lang.String convertMultipleArguments(java.lang.Object... objectList)
public java.lang.String convert(java.lang.Object o)
public java.lang.String convertInt(int i)
public void setPattern(java.lang.String pattern)
public java.lang.String getPattern()
public java.lang.String toRegexForFixedDate(java.util.Date date)
public java.lang.String toRegex()
Copyright © 2010 - 2020 Adobe. All Rights Reserved