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 int
INT_MATCH_FROM_END
static int
INT_MATCH_FROM_START
static int
INT_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 int
getMatchType()
String
getPattern()
boolean
isActive()
boolean
isMatchForLastOccurranceInFile()
boolean
isPresent(String lineData)
void
setIgnoreCaseFlag(boolean flag)
void
setIsActiveFlag(boolean flag)
void
setLastOccurranceInFile(boolean flag)
String
toString()
-
-
-
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)
-
-