Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.client.jaxrs.util
Class IOUtils

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.util.IOUtils

public class IOUtils
extends java.lang.Object

Author:
Bogdan Stefanescu

Method Summary
static void copy(java.io.InputStream in, java.io.OutputStream out)
           
static void copyToFile(java.io.InputStream in, java.io.File file)
           
static java.io.File copyToTempFile(java.io.InputStream in)
           
static java.lang.String read(java.io.InputStream in)
           
static java.lang.String read(java.io.Reader in)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy

public static void copy(java.io.InputStream in,
                        java.io.OutputStream out)
                 throws java.io.IOException
Throws:
java.io.IOException

copyToTempFile

public static java.io.File copyToTempFile(java.io.InputStream in)
                                   throws java.io.IOException
Throws:
java.io.IOException

copyToFile

public static void copyToFile(java.io.InputStream in,
                              java.io.File file)
                       throws java.io.IOException
Throws:
java.io.IOException

read

public static java.lang.String read(java.io.InputStream in)
                             throws java.io.IOException
Throws:
java.io.IOException

read

public static java.lang.String read(java.io.Reader in)
                             throws java.io.IOException
Throws:
java.io.IOException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.