org.kuali.common.util
Class PrintlnStreamConsumer

java.lang.Object
  extended by org.kuali.common.util.PrintlnStreamConsumer
All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer

public class PrintlnStreamConsumer
extends Object
implements org.codehaus.plexus.util.cli.StreamConsumer


Constructor Summary
PrintlnStreamConsumer()
           
PrintlnStreamConsumer(PrintStream printStream)
           
PrintlnStreamConsumer(PrintStream printStream, List<Ignore> ignorers)
           
 
Method Summary
 void consumeLine(String line)
           
 List<Ignore> getIgnorers()
           
 long getLineCount()
           
 PrintStream getPrintStream()
           
 long getSkipCount()
           
protected  boolean ignore(String line, List<Ignore> ignorers)
           
 void setIgnorers(List<Ignore> ignorers)
           
 void setLineCount(long lineCount)
           
 void setPrintStream(PrintStream printStream)
           
 void setSkipCount(long skipCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintlnStreamConsumer

public PrintlnStreamConsumer()

PrintlnStreamConsumer

public PrintlnStreamConsumer(PrintStream printStream)

PrintlnStreamConsumer

public PrintlnStreamConsumer(PrintStream printStream,
                             List<Ignore> ignorers)
Method Detail

consumeLine

public void consumeLine(String line)
Specified by:
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumer

ignore

protected boolean ignore(String line,
                         List<Ignore> ignorers)

getPrintStream

public PrintStream getPrintStream()

setPrintStream

public void setPrintStream(PrintStream printStream)

getLineCount

public long getLineCount()

setLineCount

public void setLineCount(long lineCount)

getSkipCount

public long getSkipCount()

setSkipCount

public void setSkipCount(long skipCount)

getIgnorers

public List<Ignore> getIgnorers()

setIgnorers

public void setIgnorers(List<Ignore> ignorers)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.