com.atlassian.bamboo.agent.bootstrap
Class BootstrapUtils

java.lang.Object
  extended by com.atlassian.bamboo.agent.bootstrap.BootstrapUtils

public class BootstrapUtils
extends java.lang.Object


Field Summary
static int BUFFER_SIZE
           
 
Method Summary
static long calculateAdlerChecksum(java.io.File file)
           
static long calculateCrc32(java.io.File file)
           
static void copyStream(java.io.InputStream inputStream, java.io.OutputStream outputStream)
           
static void copyStreamToFile(java.io.InputStream inputStream, java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFFER_SIZE

public static final int BUFFER_SIZE
See Also:
Constant Field Values
Method Detail

calculateAdlerChecksum

public static long calculateAdlerChecksum(java.io.File file)
                                   throws java.io.IOException
Throws:
java.io.IOException

calculateCrc32

public static long calculateCrc32(java.io.File file)
                           throws java.io.IOException
Throws:
java.io.IOException

copyStream

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

copyStreamToFile

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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.