Package org.meeuw.json.grep
Class GrepMain
- java.lang.Object
-
- org.meeuw.json.grep.GrepMain
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGrepMain.Output
-
Constructor Summary
Constructors Constructor Description GrepMain(PathMatcher pathMatcher)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetPreviousMaxRecordSize()GrepMainIteratoriterate(com.fasterxml.jackson.core.JsonParser in)Iterator<GrepMainRecord>iterate(InputStream in)static voidmain(String[] argv)<T extends OutputStream>
Tread(com.fasterxml.jackson.core.JsonParser in, T out)Stringread(InputStream in)<T extends OutputStream>
Tread(InputStream in, T out)Stringread(Reader in)<T extends OutputStream>
Tread(Reader in, T out)static Stringversion()
-
-
-
Constructor Detail
-
GrepMain
public GrepMain(PathMatcher pathMatcher)
-
-
Method Detail
-
iterate
public GrepMainIterator iterate(com.fasterxml.jackson.core.JsonParser in)
-
read
public <T extends OutputStream> T read(com.fasterxml.jackson.core.JsonParser in, T out) throws IOException
- Throws:
IOException
-
getPreviousMaxRecordSize
public Long getPreviousMaxRecordSize()
-
read
public <T extends OutputStream> T read(Reader in, T out) throws IOException
- Throws:
IOException
-
read
public <T extends OutputStream> T read(InputStream in, T out) throws IOException
- Throws:
IOException
-
read
public String read(Reader in) throws IOException
- Throws:
IOException
-
read
public String read(InputStream in) throws IOException
- Throws:
IOException
-
iterate
public Iterator<GrepMainRecord> iterate(InputStream in)
-
version
public static String version() throws IOException
- Throws:
IOException
-
main
public static void main(String[] argv) throws IOException, org.apache.commons.cli.ParseException
- Throws:
IOExceptionorg.apache.commons.cli.ParseException
-
-