|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.actions.soap.attachment.IOUtils
public final class IOUtils
IO utilites
Method Summary | |
---|---|
static byte[] |
convertToBytes(javax.activation.DataHandler dh)
|
static void |
copyReader(java.io.OutputStream outs,
java.io.Reader reader)
Copy the reader to the output stream |
static void |
copyStream(java.io.OutputStream outs,
java.io.InputStream ins)
Copy the input stream to the output stream |
static java.io.File |
createTempDirectory()
|
static java.io.Writer |
getCharsetFileWriter(java.io.File file,
java.lang.String charset)
|
static java.io.InputStream |
transformReader(java.io.Reader reader)
Transform a Reader to an InputStream Background is that DocumentBuilder.parse() cannot take the Reader directly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.io.Writer getCharsetFileWriter(java.io.File file, java.lang.String charset) throws java.io.IOException
java.io.IOException
public static void copyStream(java.io.OutputStream outs, java.io.InputStream ins) throws java.io.IOException
java.io.IOException
public static void copyReader(java.io.OutputStream outs, java.io.Reader reader) throws java.io.IOException
java.io.IOException
public static byte[] convertToBytes(javax.activation.DataHandler dh)
public static java.io.InputStream transformReader(java.io.Reader reader) throws java.io.IOException
java.io.IOException
public static java.io.File createTempDirectory() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |