public class FileManager extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTION_TIMEOUT_DEFAULT |
static int |
READ_TIMEOUT_DEFAULT |
Constructor and Description |
---|
FileManager() |
Modifier and Type | Method and Description |
---|---|
void |
copyDirectory(File source,
File destination) |
void |
copyToFile(InputStream source,
File destination) |
void |
downloadFile(URL source,
File destination) |
void |
downloadFile(URL source,
File destination,
int connectionTimeout,
int readTimeout) |
void |
setExecutablePermissionOnFiles(File file) |
public static final int CONNECTION_TIMEOUT_DEFAULT
public static final int READ_TIMEOUT_DEFAULT
public void downloadFile(URL source, File destination, int connectionTimeout, int readTimeout)
public void copyToFile(InputStream source, File destination)
public void setExecutablePermissionOnFiles(File file)
Copyright © 2020 OXPath Team. All rights reserved.