| Constructor and Description | 
|---|
RegexParser(String pattern,
           com.google.common.base.Optional<String> listDelimiter)  | 
RegexParser(String pattern,
           com.google.common.base.Optional<String> listDelimiter,
           Iterable<String> fieldNames)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<String> | 
getFieldNames()
Returns the fieldNames that we expect to see in parsed Maps, if known, or null otherwise. 
 | 
Map<String,Object> | 
parseToMap(String input)
Parse a String into a Map. 
 | 
void | 
setFieldNames(Iterable<String> fieldNames)
Set the fieldNames that you expect to see in parsed Maps. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartFileFromBeginningpublic RegexParser(String pattern, com.google.common.base.Optional<String> listDelimiter)
public Map<String,Object> parseToMap(String input)
ParserparseToMap in interface Parser<String,Object>public void setFieldNames(Iterable<String> fieldNames)
ParsersetFieldNames in interface Parser<String,Object>public List<String> getFieldNames()
ParsergetFieldNames in interface Parser<String,Object>Copyright © 2011–2018. All rights reserved.