net.sourceforge.plantuml
Class FileUtils

java.lang.Object
  extended by net.sourceforge.plantuml.FileUtils

public class FileUtils
extends java.lang.Object


Constructor Summary
FileUtils()
           
 
Method Summary
static void copyToFile(java.io.File src, java.io.File dest)
           
static void copyToStream(java.io.File src, java.io.OutputStream os)
           
static void copyToStream(java.io.InputStream is, java.io.OutputStream os)
           
static java.io.File createTempFile(java.lang.String prefix, java.lang.String suffix)
           
static void delete(java.io.File f)
           
static java.io.File getTmpDir()
           
static void resetCounter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

resetCounter

public static void resetCounter()

getTmpDir

public static java.io.File getTmpDir()

delete

public static void delete(java.io.File f)

createTempFile

public static java.io.File createTempFile(java.lang.String prefix,
                                          java.lang.String suffix)
                                   throws java.io.IOException
Throws:
java.io.IOException

copyToFile

public static void copyToFile(java.io.File src,
                              java.io.File dest)
                       throws java.io.IOException
Throws:
java.io.IOException

copyToStream

public static void copyToStream(java.io.File src,
                                java.io.OutputStream os)
                         throws java.io.IOException
Throws:
java.io.IOException

copyToStream

public static void copyToStream(java.io.InputStream is,
                                java.io.OutputStream os)
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.