org.jboss.wise.core.utils
Class IOUtils

java.lang.Object
  extended by org.jboss.wise.core.utils.IOUtils

public final class IOUtils
extends java.lang.Object

IO utilites

Author:
stefano.maestri@javalinux.it class imported from JBossWS. Kept methods useful for Wise

Method Summary
static void copyStream(java.io.OutputStream outs, java.io.InputStream ins)
          True if the given type name is the source notation of a primitive or array of which.
static java.io.Writer getCharsetFileWriter(java.io.File file, java.lang.String charset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCharsetFileWriter

public static java.io.Writer getCharsetFileWriter(java.io.File file,
                                                  java.lang.String charset)
                                           throws java.io.IOException
Throws:
java.io.IOException

copyStream

public static void copyStream(java.io.OutputStream outs,
                              java.io.InputStream ins)
                       throws java.io.IOException
True if the given type name is the source notation of a primitive or array of which.

Parameters:
outs -
ins -
Throws:
java.io.IOException