Class ConsumerUtils


  • public class ConsumerUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ConsumerUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void consumeFile​(java.io.File f, org.codehaus.plexus.util.cli.StreamConsumer consumer)
      Read file f, sending each line to the consumer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsumerUtils

        private ConsumerUtils()
    • Method Detail

      • consumeFile

        public static void consumeFile​(java.io.File f,
                                       org.codehaus.plexus.util.cli.StreamConsumer consumer)
                                throws java.io.IOException
        Read file f, sending each line to the consumer.
        Parameters:
        f - TODO
        consumer - TODO
        Throws:
        java.io.IOException - if any