org.apache.karaf.shell.dev.util
Class IO

java.lang.Object
  extended by org.apache.karaf.shell.dev.util.IO

public class IO
extends java.lang.Object

Helper class for I/O operations


Constructor Summary
IO()
           
 
Method Summary
static void copyTextToFile(java.io.InputStream stream, java.io.File file)
          Write text from an InputStream to a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IO

public IO()
Method Detail

copyTextToFile

public static void copyTextToFile(java.io.InputStream stream,
                                  java.io.File file)
                           throws java.io.IOException
Write text from an InputStream to a file

Throws:
java.io.IOException


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.