public class SibaCLI extends Object
Constructor and Description |
---|
SibaCLI() |
Modifier and Type | Method and Description |
---|---|
static void |
backup(File directoryToSave,
File targetDirectory)
This method is called for Backup from CLI.
|
static void |
check(File fileToCheck)
This method is called for Check from CLI.
|
static void |
help()
This method send help response.
|
static void |
run(String[] args)
This method launch CLI.
|
public static void backup(File directoryToSave, File targetDirectory) throws org.apache.commons.compress.archivers.ArchiveException, IOException, SibaException
directoryToSave
- targetDirectory
- org.apache.commons.compress.archivers.ArchiveException
IOException
SibaException
public static void check(File fileToCheck) throws NoSuchAlgorithmException, IOException
fileToCheck
- NoSuchAlgorithmException
IOException
public static void help()
public static void run(String[] args) throws org.apache.commons.compress.archivers.ArchiveException, IOException, NoSuchAlgorithmException, SibaException
args
- org.apache.commons.compress.archivers.ArchiveException
IOException
NoSuchAlgorithmException
SibaException