Class ConsumerUtils


  • @Deprecated
    public class ConsumerUtils
    extends java.lang.Object
    Deprecated.
    an internal test utility that should not be used by model code
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ConsumerUtils()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void consumeFile​(java.io.File f, org.codehaus.plexus.util.cli.StreamConsumer consumer)
      Deprecated.
      inline this method if you're using it
      • Methods inherited from class java.lang.Object

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

      • ConsumerUtils

        private ConsumerUtils()
        Deprecated.
    • Method Detail

      • consumeFile

        @Deprecated
        public static void consumeFile​(java.io.File f,
                                       org.codehaus.plexus.util.cli.StreamConsumer consumer)
                                throws java.io.IOException
        Deprecated.
        inline this method if you're using it
        Read file f, sending each line to the consumer.
        Parameters:
        f - TODO
        consumer - TODO
        Throws:
        java.io.IOException - if any