@@ -0,0 +1,998 @@
+package com.github.cstroe.svndumpgui.internal.utility;%0A%0A%0Aimport com.github.cstroe.svndumpgui.api.SvnDumpWriter;%0Aimport com.github.cstroe.svndumpgui.generated.ParseException;%0Aimport com.github.cstroe.svndumpgui.generated.SvnDumpFileParser;%0Aimport com.github.cstroe.svndumpgui.internal.SvnDumpWriterImpl;%0Aimport com.github.cstroe.svndumpgui.internal.transform.ConsumerChain;%0A%0A/**%0A * Use this from a command line interface to pipe your dump into svndumpgui,%0A * and optionally out to something else.%0A *%0A * Add your SvnDumpConsumers to the chain to achieve the desired output.%0A */%0Apublic class PipeThrough %7B%0A%0A    public static void main(final String%5B%5D args) throws ParseException %7B%0A        ConsumerChain chain = new ConsumerChain();%0A%0A        SvnDumpWriter writer = new SvnDumpWriterImpl();%0A        writer.writeTo(System.out);%0A        chain.add(writer);%0A%0A        SvnDumpFileParser parser = new SvnDumpFileParser(System.in, %22ISO-8859-1%22);%0A        parser.Start(chain);%0A%0A        System.out.flush();%0A    %7D%0A%7D%0A

Support CLI operation.