public class BootstrapUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BootstrapUtils.ProgressMonitor |
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE |
Modifier and Type | Method and Description |
---|---|
static long |
calculateAdlerChecksum(File file) |
static long |
calculateCrc32(File file) |
static void |
copyResponseToFile(org.apache.http.HttpResponse response,
File file) |
static void |
copyStream(InputStream inputStream,
OutputStream outputStream) |
static void |
copyStream(InputStream inputStream,
OutputStream outputStream,
BootstrapUtils.ProgressMonitor progressMonitor) |
static void |
copyStreamToFile(InputStream inputStream,
File file) |
public static final int BUFFER_SIZE
public static long calculateAdlerChecksum(File file) throws IOException
IOException
public static long calculateCrc32(File file) throws IOException
IOException
public static void copyStream(@NotNull InputStream inputStream, @NotNull OutputStream outputStream) throws IOException
IOException
public static void copyStream(@NotNull InputStream inputStream, @NotNull OutputStream outputStream, @Nullable BootstrapUtils.ProgressMonitor progressMonitor) throws IOException
IOException
public static void copyResponseToFile(org.apache.http.HttpResponse response, File file) throws IOException
IOException
public static void copyStreamToFile(InputStream inputStream, File file) throws IOException
IOException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.