public class LogLineFormatReader extends Object
Constructor and Description |
---|
LogLineFormatReader() |
Modifier and Type | Method and Description |
---|---|
HashMap<Integer,TokenMatcher> |
createTokenMatchers(String format)
Creates a hash map containing the token matchers for each token in the order in which they
should be expected in the log line.
|
public HashMap<Integer,TokenMatcher> createTokenMatchers(String format) throws LogLineFormatException
format
- a String containing the log line format expected.LogLineFormatException
- when the given format is invalid.Copyright © 2017 Jason "JRSofty" Reed. All rights reserved.