类 MatchActionInfo
java.lang.Object
org.apache.oro.text.MatchActionInfo
This class is used to provide information regarding a match found by
MatchActionProcessor to a MatchAction callback implementation.
- 从以下版本开始:
- 1.0
- 版本:
- ,
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明char[]The char[] representation of the matching line with the trailing newline truncated.A List of Strings containing the fields of the line that were separated out by the fieldSeparator.The field separator used by the MatchActionProcessor.The input stream passed to the MatchActionProcessor from which the matching line was read.The String representation of the matching line with the trailing newline truncated.intThe line number of the matching lineThe first match found in the line of input.The PatternMatcher used to find the match.The output stream passed to the MatchActionProcessor.The pattern found in the line of input. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
lineNumber
public int lineNumberThe line number of the matching line -
line
The String representation of the matching line with the trailing newline truncated. -
charLine
public char[] charLineThe char[] representation of the matching line with the trailing newline truncated. -
fieldSeparator
The field separator used by the MatchActionProcessor. This will be set to null by a MatchActionProcessor instance if no field separator was specified before match processing began. -
fields
A List of Strings containing the fields of the line that were separated out by the fieldSeparator. If no field separator was specified, this variable will be set to null. -
matcher
The PatternMatcher used to find the match. -
pattern
The pattern found in the line of input. If a MatchAction callback is registered with a null pattern (meaning the callback should be applied to every line of input), this value will be null. -
match
The first match found in the line of input. If a MatchAction callback is registered with a null pattern (meaning the callback should be applied to every line of input), this value will be null. -
output
The output stream passed to the MatchActionProcessor. -
input
The input stream passed to the MatchActionProcessor from which the matching line was read.
-
-
构造器详细资料
-
MatchActionInfo
public MatchActionInfo()
-