org.stjs.testing.driver
Class StreamUtils

java.lang.Object
  extended by org.stjs.testing.driver.StreamUtils

public class StreamUtils
extends Object

utils to copy different urls to an output stream

Author:
acraciun

Method Summary
static boolean copy(ClassLoader classLoader, String url, com.sun.net.httpserver.HttpExchange exchange)
           
static boolean copy(ClassLoader classLoader, String url, Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.