public class SibaManager extends Object
Constructor and Description |
---|
SibaManager() |
Modifier and Type | Method and Description |
---|---|
static File |
backup(File fileToSave,
File target) |
static boolean |
check(File choosenFile) |
static void |
directoryToSave(File directory,
org.apache.commons.compress.archivers.tar.TarArchiveOutputStream outputStream,
int pathLength) |
static File |
md5(File directoryToSave,
String destination) |
public static File backup(File fileToSave, File target) throws org.apache.commons.compress.archivers.ArchiveException, IOException, SibaNullException
org.apache.commons.compress.archivers.ArchiveException
IOException
SibaNullException
public static boolean check(File choosenFile) throws IOException, NoSuchAlgorithmException
IOException
NoSuchAlgorithmException
public static void directoryToSave(File directory, org.apache.commons.compress.archivers.tar.TarArchiveOutputStream outputStream, int pathLength) throws IOException
IOException
public static File md5(File directoryToSave, String destination) throws IOException
IOException