org.stjs.testing.driver
Class StreamUtils
java.lang.Object
org.stjs.testing.driver.StreamUtils
public class StreamUtils
- extends Object
utils to copy different urls to an output stream
- Author:
- acraciun
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copy
public static boolean copy(ClassLoader classLoader,
String url,
Writer out)
throws IOException,
URISyntaxException
- Throws:
IOException
URISyntaxException
copy
public static boolean copy(ClassLoader classLoader,
String url,
com.sun.net.httpserver.HttpExchange exchange)
throws IOException,
URISyntaxException
- Throws:
IOException
URISyntaxException
Copyright © 2013. All Rights Reserved.