org.mentawai.util
Class IOUtils

java.lang.Object
  extended by org.mentawai.util.IOUtils

public class IOUtils
extends java.lang.Object


Constructor Summary
IOUtils()
           
 
Method Summary
static void createDir(java.lang.String dirName)
           
static java.lang.String readURL(java.lang.String url)
           
static void writeFile(java.net.URL fromURL, java.io.File toFile)
           
static void writeFile(java.net.URL fromURL, java.lang.String toFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtils

public IOUtils()
Method Detail

writeFile

public static void writeFile(java.net.URL fromURL,
                             java.io.File toFile)
                      throws java.io.IOException
Throws:
java.io.IOException

writeFile

public static void writeFile(java.net.URL fromURL,
                             java.lang.String toFile)
                      throws java.io.IOException
Throws:
java.io.IOException

createDir

public static void createDir(java.lang.String dirName)
                      throws java.io.IOException
Throws:
java.io.IOException

readURL

public static java.lang.String readURL(java.lang.String url)
                                throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2005 Mentawai Team. All Rights Reserved.