|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.developer.util.IOUtils
Input / Ouput Utilities.
| Constructor Summary | |
IOUtils()
|
|
| Method Summary | |
static java.lang.String |
createTempFileFromClasspath(java.lang.String fileName,
java.lang.String fileSuffix)
Create a temp file reading the contents from a resource in the classpath. |
static void |
streamToFile(java.io.InputStream stream,
java.io.File file)
|
static java.lang.String |
streamToString(java.io.InputStream stream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IOUtils()
| Method Detail |
public static java.lang.String streamToString(java.io.InputStream stream)
throws java.io.IOException
java.io.IOException
public static void streamToFile(java.io.InputStream stream,
java.io.File file)
throws java.io.IOException
java.io.IOException
public static java.lang.String createTempFileFromClasspath(java.lang.String fileName,
java.lang.String fileSuffix)
fileName - The file name of the resourcefileSuffix - The file suffix of the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||