com.atlassian.bamboo.agent.bootstrap
Class BootstrapUtils
java.lang.Object
com.atlassian.bamboo.agent.bootstrap.BootstrapUtils
public class BootstrapUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
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(@NotNull
java.io.InputStream inputStream,
@NotNull
java.io.OutputStream outputStream)
throws java.io.IOException
- Throws:
java.io.IOException
copyStream
public static void copyStream(@NotNull
java.io.InputStream inputStream,
@NotNull
java.io.OutputStream outputStream,
@Nullable
BootstrapUtils.ProgressMonitor progressMonitor)
throws java.io.IOException
- Throws:
java.io.IOException
copyResponseToFile
public static void copyResponseToFile(org.apache.http.HttpResponse response,
java.io.File file)
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 © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.