public class FileSystemUtility extends Object
| Constructor and Description |
|---|
FileSystemUtility() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
deleteFolderRecursive(Path path)
Delete folder recursive.
|
static Path |
objectStoreFilePath(String basePath,
String objectStoreId,
String objectIdentifier) |
static eu.dnetlib.miscutils.collections.Pair<String,Long> |
saveAndGenerateMD5(InputStream inputStream,
Path filePath) |
public static eu.dnetlib.miscutils.collections.Pair<String,Long> saveAndGenerateMD5(InputStream inputStream, Path filePath)
public static boolean deleteFolderRecursive(Path path) throws IOException
path - the pathIOException - Signals that an I/O exception has occurred.Copyright © 2018. All rights reserved.