org.jboss.forge.shell.util
Class Streams
java.lang.Object
org.jboss.forge.shell.util.Streams
public abstract class Streams
- extends Object
Stream utilities.
- Author:
- Lincoln Baxter, III
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Streams
public Streams()
toString
public static String toString(InputStream stream)
- Return a
String
containing the contents of the given InputStream
write
public static void write(InputStream source,
OutputStream destination)
fromString
public static InputStream fromString(String data)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.