public class StorageManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
StorageManager() |
| Modifier and Type | Method and Description |
|---|---|
static State |
saveBinaryFile(byte[] data,
String path) |
static State |
saveFileByInputStream(InputStream is,
String path) |
static State |
saveFileByInputStream(InputStream is,
String path,
long maxSize) |
public static final int BUFFER_SIZE
public static State saveFileByInputStream(InputStream is, String path, long maxSize)
public static State saveFileByInputStream(InputStream is, String path)
Copyright © 2016. All rights reserved.