| Modifier and Type | Class and Description |
|---|---|
static class |
GrepMain.Output |
| Constructor and Description |
|---|
GrepMain(PathMatcher pathMatcher) |
| Modifier and Type | Method and Description |
|---|---|
PathMatcher |
getMatcher() |
Long |
getMax() |
GrepMain.Output |
getOutputFormat() |
Long |
getPreviousMaxRecordSize() |
PathMatcher |
getRecordMatcher() |
String |
getRecordsep() |
String |
getSep() |
Iterator<GrepMainRecord> |
iterate(InputStream in) |
GrepMainIterator |
iterate(com.fasterxml.jackson.core.JsonParser in) |
static void |
main(String[] argv) |
String |
read(InputStream in) |
<T extends OutputStream> |
read(InputStream in,
T out) |
<T extends OutputStream> |
read(com.fasterxml.jackson.core.JsonParser in,
T out) |
String |
read(Reader in) |
<T extends OutputStream> |
read(Reader in,
T out) |
void |
setMax(Long max) |
void |
setOutputFormat(GrepMain.Output outputFormat) |
void |
setRecordMatcher(PathMatcher recordMatcher) |
void |
setRecordsep(String recordsep) |
void |
setSep(String sep) |
void |
setSortFields(boolean sortFields) |
static String |
version() |
public GrepMain(PathMatcher pathMatcher)
public GrepMain.Output getOutputFormat()
public void setOutputFormat(GrepMain.Output outputFormat)
public String getSep()
public void setSep(String sep)
public String getRecordsep()
public void setRecordsep(String recordsep)
public PathMatcher getRecordMatcher()
public void setRecordMatcher(PathMatcher recordMatcher)
public void setSortFields(boolean sortFields)
public Long getMax()
public void setMax(Long max)
public PathMatcher getMatcher()
public GrepMainIterator iterate(com.fasterxml.jackson.core.JsonParser in)
public <T extends OutputStream> T read(com.fasterxml.jackson.core.JsonParser in, T out) throws IOException
IOExceptionpublic Long getPreviousMaxRecordSize()
public <T extends OutputStream> T read(Reader in, T out) throws IOException
IOExceptionpublic <T extends OutputStream> T read(InputStream in, T out) throws IOException
IOExceptionpublic String read(Reader in) throws IOException
IOExceptionpublic String read(InputStream in) throws IOException
IOExceptionpublic Iterator<GrepMainRecord> iterate(InputStream in) throws IOException
IOExceptionpublic static String version() throws IOException
IOExceptionpublic static void main(String[] argv) throws IOException, org.apache.commons.cli.ParseException
IOExceptionorg.apache.commons.cli.ParseExceptionCopyright © 2017. All rights reserved.