public class ConsumerUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
consumeFile(File f,
StreamConsumer consumer)
Read file f, sending each line to the consumer.
|
public static void consumeFile(File f, StreamConsumer consumer) throws IOException
f
- consumer
- IOException
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.