-
-
+
+
Parameters:
-fileSize
- The size of the file that the SplitConfig
is being generated for.
+fileSize
- The size of the file that the IConfig
is being generated for.
Returns:
-The resulting SplitConfig
, or null if the splitCheckBox
is unticked.
+The resulting IConfig
, or null if the splitCheckBox
is unticked.
Throws:
NumberFormatException
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-summary.html
index 72ba1f2..9c6a8da 100644
--- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-summary.html
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-summary.html
@@ -2,10 +2,10 @@
-
+
eu.steffo.cleaver.gui.panels.rows.option
-
+
@@ -91,19 +91,19 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
CompressRow
-
+
CryptRow
-
+
KeyRow
-
+
@@ -115,7 +115,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
SplitRow
-
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-tree.html
index 319dbd6..a0e4f73 100644
--- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-tree.html
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/package-tree.html
@@ -2,10 +2,10 @@
-
+
eu.steffo.cleaver.gui.panels.rows.option Class Hierarchy
-
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-summary.html
index c640c68..f851981 100644
--- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-summary.html
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-summary.html
@@ -2,10 +2,10 @@
-
+
eu.steffo.cleaver.gui.panels.rows
-
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-tree.html
index 8660bc0..0af8695 100644
--- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-tree.html
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/package-tree.html
@@ -2,10 +2,10 @@
-
+
eu.steffo.cleaver.gui.panels.rows Class Hierarchy
-
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/DeflateConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/DeflateConfig.html
new file mode 100644
index 0000000..d73a69b
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/DeflateConfig.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+DeflateConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+DeflateConfig ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+String
+toString ()
+
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public DeflateConfig ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+Description copied from interface: IConfig
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+Specified by:
+toString
in interface IConfig
+Overrides:
+toString
in class Object
+Returns:
+The string to be displated.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICompressConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICompressConfig.html
new file mode 100644
index 0000000..8e6fbad
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICompressConfig.html
@@ -0,0 +1,167 @@
+
+
+
+
+
+ICompressConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+IConfig
+
+
+All Known Implementing Classes:
+DeflateConfig
+
+
+public interface ICompressConfig
+extends IConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/IConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/IConfig.html
new file mode 100644
index 0000000..49277dc
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/IConfig.html
@@ -0,0 +1,220 @@
+
+
+
+
+
+IConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+String
+toString ()
+
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+Overrides:
+toString
in class Object
+Returns:
+The string to be displated.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICryptConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICryptConfig.html
new file mode 100644
index 0000000..cc92238
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICryptConfig.html
@@ -0,0 +1,167 @@
+
+
+
+
+
+ICryptConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+All Superinterfaces:
+IConfig
+
+
+All Known Implementing Classes:
+PasswordConfig
+
+
+public interface ICryptConfig
+extends IConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ISplitConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ISplitConfig.html
new file mode 100644
index 0000000..e4fa6d3
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ISplitConfig.html
@@ -0,0 +1,167 @@
+
+
+
+
+
+ISplitConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PartsConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PartsConfig.html
new file mode 100644
index 0000000..89fd673
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PartsConfig.html
@@ -0,0 +1,337 @@
+
+
+
+
+
+PartsConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+Fields
+
+
+Modifier and Type
+Field
+Description
+
+
+
+
+private int
+parts
+
+The number of parts the file should be split in.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+PartsConfig (int parts)
+
+Construct a new SplitByPartsConfig.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+int
+getPartCount ()
+
+
+
+String
+toString ()
+
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private int parts
+The number of parts the file should be split in.
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public PartsConfig (int parts)
+Construct a new SplitByPartsConfig.
+
+Parameters:
+parts
- The number of parts the file should be split in.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public int getPartCount ()
+
+Returns:
+The number of parts the file should be split in.
+
+
+
+
+
+
+
+Description copied from interface: IConfig
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+Specified by:
+toString
in interface IConfig
+Overrides:
+toString
in class Object
+Returns:
+The string to be displated.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PasswordConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PasswordConfig.html
new file mode 100644
index 0000000..c96e301
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PasswordConfig.html
@@ -0,0 +1,337 @@
+
+
+
+
+
+PasswordConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+Fields
+
+
+Modifier and Type
+Field
+Description
+
+
+
+
+private String
+password
+
+The password to be used in the encryption.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+PasswordConfig (String key)
+
+Construct a new PasswordConfig with a specific password.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+
+The password to be used in the encryption.
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public PasswordConfig (
String key)
+Construct a new PasswordConfig with a specific password.
+
+Parameters:
+key
- The password to be used in the encryption.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+Returns:
+The password to be used in the encryption.
+
+
+
+
+
+
+
+Description copied from interface: IConfig
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+Specified by:
+toString
in interface IConfig
+Overrides:
+toString
in class Object
+Returns:
+The string to be displated.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/SizeConfig.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/SizeConfig.html
new file mode 100644
index 0000000..5ab41cd
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/SizeConfig.html
@@ -0,0 +1,337 @@
+
+
+
+
+
+SizeConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+Fields
+
+
+Modifier and Type
+Field
+Description
+
+
+
+
+private long
+size
+
+The size (in bytes) of a single part.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+SizeConfig (long size)
+
+Construct a new SizeConfig.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+long
+getSize ()
+
+
+
+String
+toString ()
+
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private long size
+The size (in bytes) of a single part.
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public SizeConfig (long size)
+Construct a new SizeConfig.
+
+Parameters:
+size
- The size (in bytes) of a single part.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public long getSize ()
+
+Returns:
+The size (in bytes) of a single part.
+
+
+
+
+
+
+
+Description copied from interface: IConfig
+Get the string representation of the step, to be displayed in the
Operations column of the
+
JobsTablePanel
.
+
+Specified by:
+toString
in interface IConfig
+Overrides:
+toString
in class Object
+Returns:
+The string to be displated.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/package-summary.html
new file mode 100644
index 0000000..a024071
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/package-summary.html
@@ -0,0 +1,190 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.config
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/package-tree.html
new file mode 100644
index 0000000..7fdf252
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/package-tree.html
@@ -0,0 +1,129 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.config Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+Interface Hierarchy
+
+eu.steffo.cleaver.logic.config.IConfig
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/ChopJob.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/ChopJob.html
new file mode 100644
index 0000000..00a04fd
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/ChopJob.html
@@ -0,0 +1,586 @@
+
+
+
+
+
+ChopJob
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+Runnable
+
+
+public class ChopJob
+extends Job
+A
Job
to convert a file into one or more
chopped (*.chp + *.cXX) files.
+
+ The conversion is done in steps, which may be skipped if the required configuration is
null
:
+
+ Compress (if compressConfig
is not null
)
+ Crypt (if cryptConfig
is not null
)
+ Split (if splitConfig
is not null
)
+ *.chp file creation
+
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
Methods inherited from class java.lang.Thread
+
+
+ activeCount , checkAccess , clone , currentThread , dumpStack , enumerate , getAllStackTraces , getContextClassLoader , getDefaultUncaughtExceptionHandler , getId , getName , getPriority , getStackTrace , getState , getThreadGroup , getUncaughtExceptionHandler , holdsLock , interrupt , interrupted , isAlive , isDaemon , isInterrupted , join , join , join , onSpinWait , setContextClassLoader , setDaemon , setDefaultUncaughtExceptionHandler , setName , setPriority , setUncaughtExceptionHandler , sleep , sleep , start , toString , yield
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File fileToChop
+The file to chop .
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Parameters:
+outputStream
- The OutputStream
to create the *.chp file for.
+
+
+
+
+
+
+public void run ()
+
+Specified by:
+run
in interface Runnable
+Specified by:
+run
in class Job
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/Job.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/Job.html
new file mode 100644
index 0000000..f33e09e
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/Job.html
@@ -0,0 +1,483 @@
+
+
+
+
+
+Job
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+Runnable
+
+
+Direct Known Subclasses:
+ChopJob
, StitchJob
+
+
+public abstract class Job
+extends Thread
+A task that can be executed by Cleaver in a separate
Thread
, and that keeps track of its progress and can display progress updates on a Swing GUI.
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+Job ()
+
+
+
+
+
+Job (Runnable onProgressChange)
+
+Construct a Job, set its progress to
Not started
and set the
Runnable
that will be called on the GUI
Thread
+ every time the progress changes.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods Concrete Methods
+
+
+
+
Methods inherited from class java.lang.Thread
+
+
+ activeCount , checkAccess , clone , currentThread , dumpStack , enumerate , getAllStackTraces , getContextClassLoader , getDefaultUncaughtExceptionHandler , getId , getName , getPriority , getStackTrace , getState , getThreadGroup , getUncaughtExceptionHandler , holdsLock , interrupt , interrupted , isAlive , isDaemon , isInterrupted , join , join , join , onSpinWait , setContextClassLoader , setDaemon , setDefaultUncaughtExceptionHandler , setName , setPriority , setUncaughtExceptionHandler , sleep , sleep , start , toString , yield
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+protected void setProgress (
Progress progress)
+Set the progress of the job to a different value.
+
+ If
onProgressChange
is set, schedule its invocation after the set, allowing for example the updating of a
+
TableModel
after the progress change.
+
+Parameters:
+progress
- The value progress
should be set to.
+
+
+
+
+
+
+public abstract String getTypeString ()
+
+Returns:
+The String
that should be displayed in the Type column of the Jobs Table
.
+
+
+
+
+
+
+public abstract String getFileString ()
+
+Returns:
+The String
that should be displayed in the File column of the Jobs Table
.
+
+
+
+
+
+
+public abstract String getOperationsString ()
+
+Returns:
+The String
that should be displayed in the Operations column of the
+ Jobs Table
.
+
+
+
+
+
+
+public String getProgressString ()
+
+Returns:
+The String
that should be displayed in the Progress column of the Jobs Table
.
+
+
+
+
+
+
+public abstract void run ()
+
+Specified by:
+run
in interface Runnable
+Overrides:
+run
in class Thread
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/StitchJob.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/StitchJob.html
new file mode 100644
index 0000000..00ef8b5
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/StitchJob.html
@@ -0,0 +1,530 @@
+
+
+
+
+
+StitchJob
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+Runnable
+
+
+public class StitchJob
+extends Job
+A
Job
that converts
chopped (*.chp + *.cXX) files back into regular files.
+
+
+
+
+
+
+
+
+Nested Class Summary
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+StitchJob (File file)
+
+Construct a StitchJob, specifying the *.chp file to import the settings from.
+
+
+
+StitchJob (File file,
+String cryptKey)
+
+Construct a StitchJob, specifying the *.chp file to import the settings from and an encryption key to use while decrypting the files.
+
+
+
+StitchJob (File chpFile,
+String cryptKey,
+Runnable updateTable)
+
+Construct a StitchJob, and additionally specify the
Runnable
that should be called on progress updates.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Static Methods Instance Methods Concrete Methods
+
+
+
+
+
Methods inherited from class java.lang.Thread
+
+
+ activeCount , checkAccess , clone , currentThread , dumpStack , enumerate , getAllStackTraces , getContextClassLoader , getDefaultUncaughtExceptionHandler , getId , getName , getPriority , getStackTrace , getState , getThreadGroup , getUncaughtExceptionHandler , holdsLock , interrupt , interrupted , isAlive , isDaemon , isInterrupted , join , join , join , onSpinWait , setContextClassLoader , setDaemon , setDefaultUncaughtExceptionHandler , setName , setPriority , setUncaughtExceptionHandler , sleep , sleep , start , toString , yield
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+Construct a StitchJob, specifying the *.chp file to import the settings from.
+
+Parameters:
+file
- The *.chp file.
+Throws:
+ChpFileError
- If there's an error while parsing the *.chp file.
+ProgrammingError
- It should never be thrown, but it may happen if there's a bug in the program...
+
+
+
+
+
+
+
+Construct a StitchJob, specifying the *.chp file to import the settings from and an encryption key to use while decrypting the files.
+
+Parameters:
+file
- The *.chp file.
+cryptKey
- The encryption key to use while decrypting the files.
+Throws:
+ChpFileError
- If there's an error while parsing the *.chp file.
+ProgrammingError
- It should never be thrown, but it may happen if there's a bug in the program...
+See Also:
+StitchJob(File)
+
+
+
+
+
+
+
+Construct a StitchJob, and additionally specify the
Runnable
that should be called on progress updates.
+
+Parameters:
+chpFile
- The *.chp file.
+cryptKey
- The encryption key to use while decrypting the files.
+updateTable
- The Runnable
that should be invoked when Job.setProgress(Progress)
is called.
+Throws:
+ChpFileError
- If there's an error while parsing the *.chp file.
+ProgrammingError
- It should never be thrown, but it may happen if there's a bug in the program...
+See Also:
+StitchJob(File, String)
,
+Job(Runnable)
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+public File getResultFile ()
+
+
+
+
+
+
+
+
+
+
+
+
+Instantiate a new
Document
based on the contents of the passed file.
+
+Parameters:
+chpFile
- The file to create a Document
from.
+Returns:
+The created Document
.
+Throws:
+ChpFileError
- If the .chp does not exist, or is corrupt.
+ProgrammingError
- It should never be thrown, but it may happen if there's a bug in the program...
+
+
+
+
+
+
+public void run ()
+
+Specified by:
+run
in interface Runnable
+Specified by:
+run
in class Job
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/package-summary.html
new file mode 100644
index 0000000..560b91a
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/package-summary.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.job
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+The package containing all possible
Jobs
.
+
+
+
+
+
+
+Class Summary
+
+
+Class
+Description
+
+
+
+
+ChopJob
+
+A
Job
to convert a file into one or more
chopped (*.chp + *.cXX) files.
+
+
+
+Job
+
+A task that can be executed by Cleaver in a separate
Thread
, and that keeps track of its progress and can display progress updates on a Swing GUI.
+
+
+
+StitchJob
+
+A
Job
that converts
chopped (*.chp + *.cXX) files back into regular files.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/package-tree.html
new file mode 100644
index 0000000..283ead8
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/package-tree.html
@@ -0,0 +1,123 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.job Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+Class Hierarchy
+
+java.lang.Object
+
+java.lang.Thread (implements java.lang.Runnable )
+
+eu.steffo.cleaver.logic.job.Job
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/ErrorProgress.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/ErrorProgress.html
index 7de1a7f..e406b84 100644
--- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/ErrorProgress.html
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/ErrorProgress.html
@@ -2,10 +2,10 @@
-
+
ErrorProgress
-
+
@@ -21,7 +21,7 @@
-
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+public class MergeConfig
+extends SplitConfig
+A
SplitConfig
created by reading a *.chp file, containing the number of parts and their size, but not the resulting file size.
+
+
+
+
+
+
+
+
+Field Summary
+
+
+Fields
+
+
+Modifier and Type
+Field
+Description
+
+
+
+
+private int
+parts
+
+The number of parts the file was split in.
+
+
+
+private long
+partSize
+
+The size of the parts the file was split in.
+
+
+
+private long
+totalSize
+
+The total size of the original file.
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+MergeConfig (long partSize,
+int parts,
+long totalSize)
+
+Construct a new MergeConfig.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private long partSize
+The size of the parts the file was split in.
+
+
+
+
+
+private int parts
+The number of parts the file was split in.
+
+
+
+
+
+private long totalSize
+The total size of the original file.
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public MergeConfig (long partSize,
+int parts,
+long totalSize)
+Construct a new MergeConfig.
+
+Parameters:
+partSize
- The size of the parts the file was split in.
+parts
- The number of parts the file was split in.
+totalSize
- The total size of the original file.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public long getPartSize ()
+
+Specified by:
+getPartSize
in class SplitConfig
+Returns:
+The size in bytes of a single part of the file.
+
+
+
+
+
+
+public int getPartCount ()
+
+Specified by:
+getPartCount
in class SplitConfig
+Returns:
+The number of parts the file should be split in.
+
+
+
+
+
+
+public long getTotalSize ()
+
+Specified by:
+getTotalSize
in class SplitConfig
+Returns:
+The total size of the original file.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/ICleaverStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/ICleaverStream.html
new file mode 100644
index 0000000..7d36e06
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/ICleaverStream.html
@@ -0,0 +1,148 @@
+
+
+
+
+
+ICleaverStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+All Known Subinterfaces:
+ICleaverInputStream
, ICleaverOutputStream
+
+
+All Known Implementing Classes:
+CleaverCryptInputStream
, CleaverCryptOutputStream
, CleaverDeflateInputStream
, CleaverDeflateOutputStream
, CleaverForkFileInputStream
, CleaverForkFileOutputStream
, CleaverSimpleFileInputStream
, CleaverSimpleFileOutputStream
, CleaverSplitFileInputStream
, CleaverSplitFileOutputStream
+
+
+public interface ICleaverStream
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverCryptInputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverCryptInputStream.html
new file mode 100644
index 0000000..78c14fb
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverCryptInputStream.html
@@ -0,0 +1,546 @@
+
+
+
+
+
+CleaverCryptInputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+The padding standard used for the encryption (none, as there's no need for it with 8-bit blocks).
+
+See Also:
+Constant Field Values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+private final int ivSize
+The size in bytes of the initialization vector.
+
+See Also:
+Constant Field Values
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+protected CleaverCryptInputStream (
InputStream in,
+char[] key,
+byte[] salt,
+byte[] iv)
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverDeflateInputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverDeflateInputStream.html
new file mode 100644
index 0000000..a2a559d
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverDeflateInputStream.html
@@ -0,0 +1,257 @@
+
+
+
+
+
+CleaverDeflateInputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverForkFileInputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverForkFileInputStream.html
new file mode 100644
index 0000000..2e1c0a9
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverForkFileInputStream.html
@@ -0,0 +1,440 @@
+
+
+
+
+
+CleaverForkFileInputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.io.InputStream
+
+
+ available , mark , markSupported , nullInputStream , read , read , readAllBytes , readNBytes , readNBytes , reset , skip , skipNBytes , transferTo
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File baseFile
+
+
+
+
+
+
+
+
+
+
+
+private long partSize
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+
+
+
+public File getBaseFile ()
+Get the base
File
.
+
+ The stream will read from multiple files having a name constituted by the base
File
name and a *.cXX extension.
+
+ For example, if it is foo.txt, the stream will read from foo.txt.c1, foo.txt.c2, and so on.
+
+Returns:
+The base file.
+
+
+
+
+
+
+public long getPartSize ()
+
+Returns:
+The number of bytes read from each part.
+
+
+
+
+
+
+public int getParts ()
+
+Returns:
+The number of file parts to read from.
+
+
+
+
+
+
+public int getWriteTo ()
+
+Returns:
+The number of the next file where a byte should be read from, starting from 0 to the number of parts -1.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverSimpleFileInputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverSimpleFileInputStream.html
new file mode 100644
index 0000000..b471de7
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverSimpleFileInputStream.html
@@ -0,0 +1,273 @@
+
+
+
+
+
+CleaverSimpleFileInputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+Fields
+
+
+Modifier and Type
+Field
+Description
+
+
+
+
+private File
+baseFile
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File baseFile
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverSplitFileInputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverSplitFileInputStream.html
new file mode 100644
index 0000000..0051e26
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/CleaverSplitFileInputStream.html
@@ -0,0 +1,477 @@
+
+
+
+
+
+CleaverSplitFileInputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+CleaverSplitFileInputStream (File baseFile,
+long maximumByteCount)
+
+Construct a SplitFileInputStream.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
Methods inherited from class java.io.InputStream
+
+
+ available , mark , markSupported , nullInputStream , read , read , readAllBytes , readNBytes , readNBytes , reset , skip , skipNBytes , transferTo
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File baseFile
+
+
+
+
+
+private long currentByteCount
+
+
+
+
+
+private long maximumByteCount
+
+
+
+
+
+private int currentFileCount
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public CleaverSplitFileInputStream (
File baseFile,
+long maximumByteCount)
+Construct a SplitFileInputStream.
+ It will read data from the files having the same name as the
baseFile
and a *.cXX extension.
+
+Parameters:
+baseFile
- The File
to be reconstructed.
+maximumByteCount
- The number of bytes that should be read from a file before switching to the next one.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+protected void createNextFileInputStream ()
+ throws
IOException
+
+
+Throws:
+IOException
- If for some reason the program cannot open the file.
+
+
+
+
+
+
+
+
+
+
+
+
+public File getBaseFile ()
+Get the base
File
.
+
+ The stream will read from multiple files having a name constituted by the base
File
name and a *.cXX extension.
+
+ For example, if it is foo.txt, the stream will read from foo.txt.c1, foo.txt.c2, and so on.
+
+Returns:
+The base file.
+
+
+
+
+
+
+public long getCurrentByteCount ()
+
+Returns:
+The number of bytes that have already been read from the current file.
+
+
+
+
+
+
+public long getMaximumByteCount ()
+
+Returns:
+The number of bytes that should be read from a file before switching to the next one.
+
+
+
+
+
+
+public int getCurrentFileCount ()
+
+Returns:
+The number of files that have already been read.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/ICleaverInputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/ICleaverInputStream.html
new file mode 100644
index 0000000..3c0e573
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/ICleaverInputStream.html
@@ -0,0 +1,218 @@
+
+
+
+
+
+ICleaverInputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
+Static Methods
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+static InputStream
+fromElement (Element element,
+File chpFileDirectory,
+String key)
+
+Construct a ICleaverInputStream from a XML tag.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+Construct a ICleaverInputStream from a XML tag.
+
+Parameters:
+element
- The XML tag.
+chpFileDirectory
- The directory in which the *.chp file is located.
+key
- The key to use in case <Crypt> tags are present.
+Throws:
+ChpFileError
+IOException
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/package-summary.html
new file mode 100644
index 0000000..c1b8b9e
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/package-summary.html
@@ -0,0 +1,159 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.stream.input
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/package-tree.html
new file mode 100644
index 0000000..a695b0a
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/input/package-tree.html
@@ -0,0 +1,144 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.stream.input Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverCryptOutputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverCryptOutputStream.html
new file mode 100644
index 0000000..4fbe06d
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverCryptOutputStream.html
@@ -0,0 +1,620 @@
+
+
+
+
+
+CleaverCryptOutputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+CleaverCryptOutputStream (OutputStream out,
+char[] key)
+
+Create a new CleaverCryptOutputStream with default
Cipher
parameters (AES algorithm in operation mode CFB8 with PKCS5 padding).
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Static Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+private final int ivSize
+The size in bytes of the initialization vector.
+
+See Also:
+Constant Field Values
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public CleaverCryptOutputStream (
OutputStream out,
+char[] key)
+Create a new CleaverCryptOutputStream with default
Cipher
parameters (AES algorithm in operation mode CFB8 with PKCS5 padding).
+
+Parameters:
+out
- The OutputStream
to connect this FilterOutputStream
to.
+key
- The desired encryption key.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+protected static byte[] generateSecure (int size)
+Generate an array of secure random bytes.
+
+Parameters:
+size
- The size of the array.
+Returns:
+The generated array of secure random bytes.
+See Also:
+SecureRandom
+
+
+
+
+
+
+
+
+
+Parameters:
+size
- The size in bytes of the initialization vector.
+Returns:
+The generated IV.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverDeflateOutputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverDeflateOutputStream.html
new file mode 100644
index 0000000..ddd2f73
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverDeflateOutputStream.html
@@ -0,0 +1,312 @@
+
+
+
+
+
+CleaverDeflateOutputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+Element
+toElement (Document doc)
+
+Create a
Element
representing the stream (to be used in *.chp metadata files).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverForkFileOutputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverForkFileOutputStream.html
new file mode 100644
index 0000000..9a28e17
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverForkFileOutputStream.html
@@ -0,0 +1,472 @@
+
+
+
+
+
+CleaverForkFileOutputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+CleaverForkFileOutputStream (File baseFile,
+int parts)
+
+Construct a CleaverForkFileOutputStream.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File baseFile
+
+
+
+
+
+
+
+
+
+
+
+private long partSize
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+Construct a CleaverForkFileOutputStream.
+
+Parameters:
+baseFile
- The name of the files without the extension. If it is example, the created files will be example.c1, example.c2, and so on.
+parts
- The number of parts to be created.
+Throws:
+FileNotFoundException
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+
+
+
+
+
+
+public File getBaseFile ()
+Get the base
File
.
+
+ The base
File
gives the name to all generated files, including the file parts (*.cXX) and the reconstructed file.
+
+ For example, if it is foo.txt, the created files will be foo.txt.c1, foo.txt.c2, and so on.
+
+Returns:
+The base file.
+
+
+
+
+
+
+public long getPartSize ()
+
+Returns:
+The number of bytes written to each part.
+
+
+
+
+
+
+public int getParts ()
+
+Returns:
+The number of file parts to create.
+
+
+
+
+
+
+public int getWriteTo ()
+
+Returns:
+The number of the next file where a byte should be written, from 0 to the number of parts -1.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverSimpleFileOutputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverSimpleFileOutputStream.html
new file mode 100644
index 0000000..ca73a8a
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverSimpleFileOutputStream.html
@@ -0,0 +1,351 @@
+
+
+
+
+
+CleaverSimpleFileOutputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Summary
+
+
+Fields
+
+
+Modifier and Type
+Field
+Description
+
+
+
+
+private File
+baseFile
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File baseFile
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+
+
+public File getBaseFile ()
+Get the base
File
.
+
+ The base
File
is the one that gives the name to all generated files, including the chopped file (*.c0) and the reconstructed file.
+
+ For example, if it is foo.txt, the created file will be foo.txt.c0.
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverSplitFileOutputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverSplitFileOutputStream.html
new file mode 100644
index 0000000..6bceb8c
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/CleaverSplitFileOutputStream.html
@@ -0,0 +1,503 @@
+
+
+
+
+
+CleaverSplitFileOutputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+ICleaverStream
, ICleaverOutputStream
, Closeable
, Flushable
, AutoCloseable
+
+
+public class CleaverSplitFileOutputStream
+extends OutputStream
+implements ICleaverOutputStream
+A custom
OutputStream
that writes the bytes received in input in multiple files with a progressively increasing number (.c1, .c2, .c3, and so on).
+
+ Bytes are written to a file until its length reaches
maximumByteCount
, then the program switches to the following file (.c2 if .c1 is full, .c3 if .c2 is full, and so on).
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+CleaverSplitFileOutputStream (File baseFile,
+long maximumByteCount)
+
+Construct a CleaverSplitFileOutputStream.
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Field Details
+
+
+
+
+private final File baseFile
+
+
+
+
+
+private long currentByteCount
+
+
+
+
+
+private long maximumByteCount
+
+
+
+
+
+private int currentFileCount
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public CleaverSplitFileOutputStream (
File baseFile,
+long maximumByteCount)
+Construct a CleaverSplitFileOutputStream.
+
+Parameters:
+baseFile
- The File
that will be reconstructed after reversing the Split operation.
+ The split files will have the same name with the addition of a .cXX extension.
+maximumByteCount
- The number of bytes that should be written to a file before switching to the next one.
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+protected void createNextFileOutputStream ()
+ throws
IOException
+
+
+Throws:
+IOException
- If for some reason the program cannot create the file.
+
+
+
+
+
+
+
+
+
+
+
+
+public File getBaseFile ()
+Get the base
File
.
+
+ The base
File
is the one that gives the name to all generated files, including the file parts (*.cXX) and the reconstructed file.
+
+ For example, if it is foo.txt, the created files will be foo.txt.c1, foo.txt.c2, and so on.
+
+Returns:
+The base file.
+
+
+
+
+
+
+public long getCurrentByteCount ()
+
+Returns:
+The number of bytes that have already been written to the current file.
+
+
+
+
+
+
+public long getMaximumByteCount ()
+
+Returns:
+The number of bytes that should be written to a file before switching to the next one.
+
+
+
+
+
+
+public int getCurrentFileCount ()
+
+Returns:
+The number of files that have already been created.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/ICleaverOutputStream.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/ICleaverOutputStream.html
new file mode 100644
index 0000000..05954e4
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/ICleaverOutputStream.html
@@ -0,0 +1,217 @@
+
+
+
+
+
+ICleaverOutputStream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
SEARCH:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Instance Methods Abstract Methods
+
+
+
+
+Modifier and Type
+Method
+Description
+
+
+
+
+Element
+toElement (Document doc)
+
+Create a
Element
representing the stream (to be used in *.chp metadata files).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+
+Create a
Element
representing the stream (to be used in *.chp metadata files).
+
+Parameters:
+doc
- The Document
the Element
should be created in.
+Returns:
+The created Element
.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Summary:
+Nested |
+Field |
+Constr |
+Method
+
+
+Detail:
+Field |
+Constr |
+Method
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/package-summary.html
new file mode 100644
index 0000000..d2581b4
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/package-summary.html
@@ -0,0 +1,165 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.stream.output
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/package-tree.html
new file mode 100644
index 0000000..c4cea1d
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/output/package-tree.html
@@ -0,0 +1,144 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.stream.output Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/package-summary.html
new file mode 100644
index 0000000..aa9bf72
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/package-summary.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.stream
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Interface Summary
+
+
+Interface
+Description
+
+
+
+
+ICleaverStream
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/package-tree.html
new file mode 100644
index 0000000..de0709a
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/stream/package-tree.html
@@ -0,0 +1,110 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.stream Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/SaltSerializer.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/SaltSerializer.html
new file mode 100644
index 0000000..b30283a
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/SaltSerializer.html
@@ -0,0 +1,260 @@
+
+
+
+
+
+SaltSerializer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+public class SaltSerializer
+extends Object
+
+
+
+
+
+
+
+
+Constructor Summary
+
+
+Constructors
+
+
+Constructor
+Description
+
+
+
+
+SaltSerializer ()
+
+
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+
All Methods Static Methods Concrete Methods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Constructor Details
+
+
+
+
+public SaltSerializer ()
+
+
+
+
+
+
+
+
+
+
+Method Details
+
+
+
+
+public static String serialize (
byte[] array)
+
+
+
+
+
+public static byte[] deserialize (
String string)
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/package-summary.html
new file mode 100644
index 0000000..2522ed9
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/package-summary.html
@@ -0,0 +1,124 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.utils
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
+
+Class Summary
+
+
+Class
+Description
+
+
+
+
+SaltSerializer
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/package-tree.html
new file mode 100644
index 0000000..92656ce
--- /dev/null
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/utils/package-tree.html
@@ -0,0 +1,114 @@
+
+
+
+
+
+eu.steffo.cleaver.logic.utils Class Hierarchy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+
+
+
+
diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/package-summary.html
index ae2c0d8..bca6504 100644
--- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/package-summary.html
+++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/package-summary.html
@@ -2,10 +2,10 @@
-
+
eu.steffo.cleaver
-
+
@@ -77,7 +77,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
It contains all the runnable functions (currently only Main
), and all other packages.
See Also:
-eu.steffo.cleaver.logic
,
+eu.steffo.cleaver.logic
,
eu.steffo.cleaver.gui
,
eu.steffo.cleaver.errors
@@ -101,10 +101,6 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
The class containing the main function.