diff --git a/README.md b/README.md index 6cd71de..ea1153a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,10 @@ It is being hosted on GitHub Pages. ### Progress +#### 2020-01-09 + +![](https://i.imgur.com/gBiY7eM.png) + #### 2020-01-03 ![](https://i.imgur.com/4ZUVo2v.png) diff --git a/docs/allclasses-index.html b/docs/allclasses-index.html index b4eafb7..2beb6a5 100644 --- a/docs/allclasses-index.html +++ b/docs/allclasses-index.html @@ -2,7 +2,7 @@ - + All Classes @@ -112,28 +112,38 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); CleaverCryptInputStream -  + +
A ICleaverInputStream that decrypts incoming data using a Cipher object.
+ CleaverCryptOutputStream -  + +
A ICleaverOutputStream that encrypts incoming data using a Cipher object.
+ CleaverDeflateInputStream -  + +
A ICleaverInputStream that decompresses incoming data with the Deflate algorithm.
+ CleaverDeflateOutputStream -  + +
A ICleaverOutputStream that compresses incoming data with the Deflate algorithm.
+ CleaverForkFileInputStream -  + +
A ICleaverInputStream that reads split data from a specific number of files having the same size.
+ CleaverForkFileOutputStream -
A custom OutputStream that writes the bytes received in input in multiple files with a progressively increasing number (.c1, .c2, .c3, and so on).
+
A ICleaverOutputStream that reads split data from a specific number of files having the same size.
@@ -144,22 +154,26 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); CleaverSimpleFileInputStream -  + +
A ICleaverInputStream that reads data from a File with a *.c0 extension.
+ CleaverSimpleFileOutputStream -
A custom OutputStream that writes the bytes received in input to a single file with a *.c0 extension.
+
A ICleaverOutputStream that writes data to a single file with a *.c0 extension.
CleaverSplitFileInputStream -  + +
A ICleaverInputStream that reads data from a series of files having a predefined size.
+ CleaverSplitFileOutputStream -
A custom OutputStream that writes the bytes received in input in multiple files with a progressively increasing number (.c1, .c2, .c3, and so on).
+
A ICleaverOutputStream that writes data to a series of files having a predefined size.
@@ -212,15 +226,21 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); ICleaverInputStream -  + +
A ICleaverStream that is also a InputStream (a stream you can read bytes from).
+ ICleaverOutputStream -  + +
A ICleaverStream that is also a OutputStream (a stream you can write bytes to).
+ ICleaverStream -  + +
The generic interface for the streams used by Cleaver.
+ ICompressConfig @@ -310,7 +330,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); Progress -
The abstract Progress class.
+
An abstract class representing the progress of a job (not started, 50%, completed, ...)
@@ -321,7 +341,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); SaltSerializer -  + +
An utility class to serialize and deserialize byte arrays.
+ SizeConfig @@ -338,7 +360,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); StitchJob -
A Job that converts chopped (*.chp + *.cXX) files back into regular files.
+
A Job to one or more chopped (*.chp + *.cXX) files back into the original file.
diff --git a/docs/allpackages-index.html b/docs/allpackages-index.html index 5d0632f..3fef359 100644 --- a/docs/allpackages-index.html +++ b/docs/allpackages-index.html @@ -2,7 +2,7 @@ - + All Packages @@ -131,24 +131,32 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); eu.steffo.cleaver.logic.progress -
A package containing all possible Progress that a job can be in.
+
A package containing all possible Progress that a Job can be in.
eu.steffo.cleaver.logic.stream -  + +
A package containing the ICleaverStream interface.
+ eu.steffo.cleaver.logic.stream.input -  + +
A package containing the ICleaverInputStream interface and its implementations.
+ eu.steffo.cleaver.logic.stream.output -  + +
A package containing the ICleaverOutputStream interface and its implementations.
+ eu.steffo.cleaver.logic.utils -  + +
A package containing utility classes.
+ diff --git a/docs/constant-values.html b/docs/constant-values.html index bc08416..43db0ea 100644 --- a/docs/constant-values.html +++ b/docs/constant-values.html @@ -2,7 +2,7 @@ - + Constant Field Values @@ -83,6 +83,29 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • + + + + + + + + + + + + + + + +
    eu.steffo.cleaver.logic.job.ChopJob 
    Modifier and TypeConstant FieldValue
    + +private static final intBUFFER_SIZE8192
    +
    +
  • +
  • +
    + @@ -93,11 +116,11 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - - - + +
    eu.steffo.cleaver.logic.job.StitchJob 
    + private static final intUPDATE_EVERY_BYTES16000BUFFER_SIZE8192
    @@ -118,60 +141,46 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - + -private final String -encryptionAlgorithm +private static final String +ENCRYPTION_ALGORITHM "AES" - + -private final int -ivSize -16 - - - - -private final String -keyDerivationAlgorithm +private static final String +KEY_DERIVATION_ALGORITHM "PBKDF2WithHmacSHA512" - - + + -private final int -keyIterationCount +private static final int +KEY_ITERATION_COUNT 65535 - - + + -private final int -keyLength +private static final int +KEY_LENGTH 256 - - + + -private final String -modeOfOperation +private static final String +MODE_OF_OPERATION "CFB8" - - - -private final String -padding -"NoPadding" - - + -private final int -saltSize -8 +private static final String +PADDING +"NoPadding" diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/Main.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/Main.html index b942de8..ce192fe 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/Main.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/Main.html @@ -2,7 +2,7 @@ - + Main diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ChpFileError.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ChpFileError.html index 14aa764..96c45cc 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ChpFileError.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ChpFileError.html @@ -2,7 +2,7 @@ - + ChpFileError diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ProgrammingError.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ProgrammingError.html index e5ccf53..c6f6248 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ProgrammingError.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/ProgrammingError.html @@ -2,7 +2,7 @@ - + ProgrammingError diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-summary.html index a52b056..68c9986 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-summary.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-summary.html @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.errors diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-tree.html index 31ad656..141a006 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-tree.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/errors/package-tree.html @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.errors Class Hierarchy diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/CleaverFrame.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/CleaverFrame.html index fa63313..8113f15 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/CleaverFrame.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/CleaverFrame.html @@ -2,7 +2,7 @@ - + CleaverFrame diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-summary.html index 67f78b6..cc9107c 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-summary.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-summary.html @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.gui diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-tree.html index 59cf3b7..51fe4dc 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-tree.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/package-tree.html @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.gui Class Hierarchy diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopAndStitchPanel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopAndStitchPanel.html index 6940ec9..6137cdd 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopAndStitchPanel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopAndStitchPanel.html @@ -2,7 +2,7 @@ - + ChopAndStitchPanel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopPanel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopPanel.html index 9c51150..af68d25 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopPanel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/ChopPanel.html @@ -2,7 +2,7 @@ - + ChopPanel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/CreateJobPanel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/CreateJobPanel.html index 4a54e42..69f72ee 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/CreateJobPanel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/CreateJobPanel.html @@ -2,7 +2,7 @@ - + CreateJobPanel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsButtonsPanel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsButtonsPanel.html index 9a4c273..275f7ed 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsButtonsPanel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsButtonsPanel.html @@ -2,7 +2,7 @@ - + JobsButtonsPanel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.JobsTableModel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.JobsTableModel.html index a089722..e71bd5a 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.JobsTableModel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.JobsTableModel.html @@ -2,7 +2,7 @@ - + JobsTablePanel.JobsTableModel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.html index a0fbf7b..16b4b07 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/JobsTablePanel.html @@ -2,7 +2,7 @@ - + JobsTablePanel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/StitchPanel.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/StitchPanel.html index 83fb571..554f130 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/StitchPanel.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/StitchPanel.html @@ -2,7 +2,7 @@ - + StitchPanel diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-summary.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-summary.html index 1e8df22..29a8aae 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-summary.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-summary.html @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.gui.panels diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-tree.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-tree.html index 33bce8d..67ac959 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-tree.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/package-tree.html @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.gui.panels Class Hierarchy diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/CreateJobButtonRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/CreateJobButtonRow.html index 68fd0a1..d66fb9e 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/CreateJobButtonRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/CreateJobButtonRow.html @@ -2,7 +2,7 @@ - + CreateJobButtonRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/FileSelectRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/FileSelectRow.html index 9496649..0fd34a6 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/FileSelectRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/FileSelectRow.html @@ -2,7 +2,7 @@ - + FileSelectRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/Row.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/Row.html index ece9dfe..3ec4034 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/Row.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/Row.html @@ -2,7 +2,7 @@ - + Row diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/TitleRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/TitleRow.html index e107daa..80a8f74 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/TitleRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/TitleRow.html @@ -2,7 +2,7 @@ - + TitleRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CompressRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CompressRow.html index 2d728f2..226f430 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CompressRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CompressRow.html @@ -2,7 +2,7 @@ - + CompressRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CryptRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CryptRow.html index 2aa5ae2..8737db0 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CryptRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/CryptRow.html @@ -2,7 +2,7 @@ - + CryptRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/KeyRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/KeyRow.html index dbdfe3d..963f4ec 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/KeyRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/KeyRow.html @@ -2,7 +2,7 @@ - + KeyRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/OptionRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/OptionRow.html index 8a418b0..758c85e 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/OptionRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/OptionRow.html @@ -2,7 +2,7 @@ - + OptionRow diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/SplitRow.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/SplitRow.html index 151e832..487c880 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/SplitRow.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/gui/panels/rows/option/SplitRow.html @@ -2,7 +2,7 @@ - + SplitRow 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 9c6a8da..cb5d505 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,7 +2,7 @@ - + eu.steffo.cleaver.gui.panels.rows.option 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 a0e4f73..84c1a0c 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,7 +2,7 @@ - + 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 f851981..e301df9 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,7 +2,7 @@ - + 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 0af8695..e6c85fc 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,7 +2,7 @@ - + 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 index d73a69b..d5ba69e 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/DeflateConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/DeflateConfig.html @@ -2,7 +2,7 @@ - + DeflateConfig 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 index 8e6fbad..c377f6d 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICompressConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICompressConfig.html @@ -2,7 +2,7 @@ - + ICompressConfig 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 index 49277dc..3a20062 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/IConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/IConfig.html @@ -2,7 +2,7 @@ - + IConfig 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 index cc92238..204f910 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICryptConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ICryptConfig.html @@ -2,7 +2,7 @@ - + ICryptConfig 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 index e4fa6d3..ef8d0d6 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ISplitConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/ISplitConfig.html @@ -2,7 +2,7 @@ - + ISplitConfig 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 index 89fd673..ec63b01 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PartsConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PartsConfig.html @@ -2,7 +2,7 @@ - + PartsConfig 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 index c96e301..9c5cb65 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PasswordConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/PasswordConfig.html @@ -2,7 +2,7 @@ - + PasswordConfig 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 index 5ab41cd..154c8be 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/SizeConfig.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/config/SizeConfig.html @@ -2,7 +2,7 @@ - + SizeConfig 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 index a024071..93eda65 100644 --- 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 @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.logic.config 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 index 7fdf252..aa9eb64 100644 --- 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 @@ -2,7 +2,7 @@ - + eu.steffo.cleaver.logic.config Class Hierarchy 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 index 00a04fd..ba1135a 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/ChopJob.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/ChopJob.html @@ -2,7 +2,7 @@ - + ChopJob @@ -117,6 +117,10 @@ extends Job<
  • Split (if splitConfig is not null)
  • *.chp file creation
  • +
    +
    See Also:
    +
    StitchJob
    +
    +
  • +
    +

    BUFFER_SIZE

    +
    private static final int BUFFER_SIZE
    +
    The size of the buffer where bytes are read to before being written into the OutputStream (currently 8192 bytes).
    +
    +
    See Also:
    +
    Constant Field Values
    +
    +
    +
  • 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 index f33e09e..86f3034 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/Job.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/Job.html @@ -2,7 +2,7 @@ - + Job 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 index 00ef8b5..68b561a 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/StitchJob.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/job/StitchJob.html @@ -2,7 +2,7 @@ - + StitchJob @@ -108,7 +108,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public class StitchJob
     extends Job
    -
    A Job that converts chopped (*.chp + *.cXX) files back into regular files.
    +
    A Job to one or more chopped (*.chp + *.cXX) files back into the original file. + + The *.chp file is parsed to discover how to revert the chop process, then multiple InputStreams are created and the original file is + recreated through a FileOutputStream.
    @@ -376,8 +387,7 @@ extends Job<
    public StitchJob​(File chpFile, String cryptKey, Runnable updateTable) - throws ChpFileError, -ProgrammingError
    + throws ChpFileError
    Construct a StitchJob, and additionally specify the Runnable that should be called on progress updates.
    Parameters:
    @@ -385,11 +395,9 @@ extends Job<
    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...
    +
    ChpFileError - If an error is encountered while parsing the *.chp file.
    See Also:
    -
    StitchJob(File, String), -Job(Runnable)
    +
    StitchJob(File, String)
    @@ -405,6 +413,12 @@ extends Job< @@ -233,7 +236,7 @@ extends Create a new ErrorProgress for a specific error.
    Parameters:
    -
    error - The encountered error.
    +
    error - The error encountered by the Job.
    diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/FinishedProgress.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/FinishedProgress.html index d2b31fb..3cb85f8 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/FinishedProgress.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/FinishedProgress.html @@ -2,7 +2,7 @@ - + FinishedProgress diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/NotStartedProgress.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/NotStartedProgress.html index 0d99b52..3500889 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/NotStartedProgress.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/NotStartedProgress.html @@ -2,7 +2,7 @@ - + NotStartedProgress diff --git a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/Progress.html b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/Progress.html index 2e7e4b9..6c5cc3c 100644 --- a/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/Progress.html +++ b/docs/eu.steffo.cleaver/eu/steffo/cleaver/logic/progress/Progress.html @@ -2,7 +2,7 @@ - + Progress @@ -98,9 +98,14 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public abstract class Progress
     extends Object
    -
    The abstract Progress class. - - All subclasses must be immutable.
    +
    An abstract class representing the progress of a job (not started, 50%, completed, ...)
    +
    +
    See Also:
    +
    NotStartedProgress, +WorkingProgress, +FinishedProgress, +ErrorProgress
    +
    @@ -213,9 +250,32 @@ implements CleaverSimpleFileInputStream
    public CleaverSimpleFileInputStream​(File baseFile) throws FileNotFoundException
    +
    Create a new CleaverSimpleFileInputStream.
    +
    Parameters:
    +
    baseFile - The base (the File without *.c0 extension) of the file to read from.
    Throws:
    -
    FileNotFoundException
    +
    FileNotFoundException - If a required file isn't found.
    +
    + + + + + + +
  • +
    + + +

    Method 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 index 0051e26..3b77c60 100644 --- 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 @@ -2,7 +2,7 @@ - + CleaverSplitFileInputStream @@ -107,6 +107,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public class CleaverSplitFileInputStream
     extends InputStream
     implements ICleaverInputStream
    +
    A ICleaverInputStream that reads data from a series of files having a predefined size. + + Bytes are read from a file until maximumByteCount bytes are read, then the program switches to the following file (.c2 if .c1 is full, .c3 if .c2 + is full, and so on).
    @@ -339,12 +355,12 @@ long maximumByteCount)
  • createNextFileInputStream

    -
    protected void createNextFileInputStream() - throws IOException
    +
    private void createNextFileInputStream() + throws IOException
    Open the following file in the sequence, and update the currentFileInputStream.
    Throws:
    -
    IOException - If for some reason the program cannot open the file.
    +
    IOException - If a problem is encountered while opening or closing a FileInputStream.
  • @@ -384,9 +400,10 @@ long maximumByteCount)
    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. + The base file is the File that was split by a CleaverSplitFileOutputStream and will be now + reconstructed by this object. - For example, if it is foo.txt, the stream will read from foo.txt.c1, foo.txt.c2, and so on.
    + The files read by this stream have the same name of the base file with the addition of a .cXX extension.
    Returns:
    The base file.
    @@ -409,7 +426,7 @@ long maximumByteCount)
    public long getMaximumByteCount()
    Returns:
    -
    The number of bytes that should be read from a file before switching to the next one.
    +
    The number of bytes that should be read from a file before switching to the following one.
    @@ -419,7 +436,7 @@ long maximumByteCount)
    public int getCurrentFileCount()
    Returns:
    -
    The number of files that have already been read.
    +
    The number of files that have been opened so far.
    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 index 3c0e573..422acfe 100644 --- 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 @@ -2,7 +2,7 @@ - + ICleaverInputStream @@ -99,6 +99,11 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public interface ICleaverInputStream
     extends ICleaverStream
    +
    A ICleaverStream that is also a InputStream (a stream you can read bytes from).
    +
    +
    See Also:
    +
    StitchJob
    +
    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 index ddd2f73..c74e8c9 100644 --- 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 @@ -2,7 +2,7 @@ - + CleaverDeflateOutputStream @@ -111,6 +111,11 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
    public class CleaverDeflateOutputStream
     extends DeflaterOutputStream
     implements ICleaverOutputStream
    +
    A ICleaverOutputStream that compresses incoming data with the Deflate algorithm.
    +
    +
    See Also:
    +
    DeflaterOutputStream
    +
    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 index 9a28e17..d50751e 100644 --- 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 @@ -2,7 +2,7 @@ - + CleaverForkFileOutputStream @@ -21,7 +21,7 @@ - -