com.atlassian.bamboo.utils
Class FileCopier

java.lang.Object
  extended by com.atlassian.bamboo.utils.FileCopier

public class FileCopier
extends java.lang.Object

This class provides common file copying code


Method Summary
static void copyFile(java.io.File sourceFile, java.io.File destinationFile)
           
static void copyStreams(java.io.InputStream inputStream, java.io.OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyFile

public static void copyFile(java.io.File sourceFile,
                            java.io.File destinationFile)

copyStreams

public static void copyStreams(java.io.InputStream inputStream,
                               java.io.OutputStream outputStream)
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010 Atlassian. All Rights Reserved.