Class MatchPattern
- java.lang.Object
-
- com.sun.identity.install.tools.util.MatchPattern
-
- Direct Known Subclasses:
DeletePattern
public class MatchPattern extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intINT_MATCH_FROM_ENDstatic intINT_MATCH_FROM_STARTstatic intINT_MATCH_OCCURRANCE
-
Constructor Summary
Constructors Constructor Description MatchPattern(String pattern, int matchType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMatchType()StringgetPattern()booleanisActive()booleanisMatchForLastOccurranceInFile()booleanisPresent(String lineData)voidsetIgnoreCaseFlag(boolean flag)voidsetIsActiveFlag(boolean flag)voidsetLastOccurranceInFile(boolean flag)StringtoString()
-
-
-
Field Detail
-
INT_MATCH_OCCURRANCE
public static final int INT_MATCH_OCCURRANCE
- See Also:
- Constant Field Values
-
INT_MATCH_FROM_START
public static final int INT_MATCH_FROM_START
- See Also:
- Constant Field Values
-
INT_MATCH_FROM_END
public static final int INT_MATCH_FROM_END
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MatchPattern
public MatchPattern(String pattern, int matchType)
-
-
Method Detail
-
isPresent
public boolean isPresent(String lineData)
-
isMatchForLastOccurranceInFile
public boolean isMatchForLastOccurranceInFile()
-
isActive
public boolean isActive()
-
setIsActiveFlag
public void setIsActiveFlag(boolean flag)
-
getPattern
public String getPattern()
-
getMatchType
public int getMatchType()
-
setIgnoreCaseFlag
public void setIgnoreCaseFlag(boolean flag)
-
setLastOccurranceInFile
public void setLastOccurranceInFile(boolean flag)
-
-