mirror of
https://github.com/Steffo99/unimore-oop-2020-cleaver.git
synced 2024-11-25 01:24:19 +00:00
2019-12-07
This commit is contained in:
parent
083a9859c1
commit
3cf9025752
25 changed files with 191 additions and 49 deletions
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
|
<state>
|
||||||
|
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||||
|
</state>
|
||||||
|
</component>
|
|
@ -20,6 +20,10 @@ The documentation for this project is available [here](https://gh.steffo.eu/clea
|
||||||
|
|
||||||
### Progress
|
### Progress
|
||||||
|
|
||||||
|
#### 2019-12-07
|
||||||
|
|
||||||
|
![](https://i.imgur.com/nlmvEUX.png)
|
||||||
|
|
||||||
#### 2019-12-06
|
#### 2019-12-06
|
||||||
|
|
||||||
![](https://i.imgur.com/TBPgZ4D.png)
|
![](https://i.imgur.com/TBPgZ4D.png)
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>All Classes</title>
|
<title>All Classes</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="class index">
|
<meta name="description" content="class index">
|
||||||
<meta name="generator" content="javadoc/AllClassesIndexWriter">
|
<meta name="generator" content="javadoc/AllClassesIndexWriter">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
@ -124,57 +124,73 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i11">
|
<tr class="rowColor" id="i11">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/logic/Job.html" title="class in eu.steffo.cleaver.logic">Job</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/progress/FinishedProgress.html" title="class in eu.steffo.cleaver.logic.progress">FinishedProgress</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i12">
|
<tr class="altColor" id="i12">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/panels/JobsButtonsPanel.html" title="class in eu.steffo.cleaver.gui.panels">JobsButtonsPanel</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/Job.html" title="class in eu.steffo.cleaver.logic">Job</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i13">
|
<tr class="rowColor" id="i13">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/panels/JobsTablePanel.html" title="class in eu.steffo.cleaver.gui.panels">JobsTablePanel</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/panels/JobsButtonsPanel.html" title="class in eu.steffo.cleaver.gui.panels">JobsButtonsPanel</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i14">
|
<tr class="altColor" id="i14">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/Main.html" title="class in eu.steffo.cleaver">Main</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/panels/JobsTablePanel.html" title="class in eu.steffo.cleaver.gui.panels">JobsTablePanel</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i15">
|
<tr class="rowColor" id="i15">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/option/OptionRow.html" title="class in eu.steffo.cleaver.gui.rows.option">OptionRow</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/Main.html" title="class in eu.steffo.cleaver">Main</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i16">
|
<tr class="altColor" id="i16">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/Row.html" title="class in eu.steffo.cleaver.gui.rows">Row</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/progress/NotStartedProgress.html" title="class in eu.steffo.cleaver.logic.progress">NotStartedProgress</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i17">
|
<tr class="rowColor" id="i17">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/logic/split/SplitByPartsConfig.html" title="class in eu.steffo.cleaver.logic.split">SplitByPartsConfig</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/option/OptionRow.html" title="class in eu.steffo.cleaver.gui.rows.option">OptionRow</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i18">
|
<tr class="altColor" id="i18">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/logic/split/SplitBySizeConfig.html" title="class in eu.steffo.cleaver.logic.split">SplitBySizeConfig</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/progress/Progress.html" title="class in eu.steffo.cleaver.logic.progress">Progress</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i19">
|
<tr class="rowColor" id="i19">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/logic/split/SplitConfig.html" title="class in eu.steffo.cleaver.logic.split">SplitConfig</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/Row.html" title="class in eu.steffo.cleaver.gui.rows">Row</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i20">
|
<tr class="altColor" id="i20">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/option/SplitRow.html" title="class in eu.steffo.cleaver.gui.rows.option">SplitRow</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/split/SplitByPartsConfig.html" title="class in eu.steffo.cleaver.logic.split">SplitByPartsConfig</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i21">
|
<tr class="rowColor" id="i21">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/logic/StitchJob.html" title="class in eu.steffo.cleaver.logic">StitchJob</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/split/SplitBySizeConfig.html" title="class in eu.steffo.cleaver.logic.split">SplitBySizeConfig</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i22">
|
<tr class="altColor" id="i22">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/panels/StitchPanel.html" title="class in eu.steffo.cleaver.gui.panels">StitchPanel</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/split/SplitConfig.html" title="class in eu.steffo.cleaver.logic.split">SplitConfig</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="rowColor" id="i23">
|
<tr class="rowColor" id="i23">
|
||||||
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/option/SplitRow.html" title="class in eu.steffo.cleaver.gui.rows.option">SplitRow</a></td>
|
||||||
|
<th class="colLast" scope="row"> </th>
|
||||||
|
</tr>
|
||||||
|
<tr class="altColor" id="i24">
|
||||||
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/StitchJob.html" title="class in eu.steffo.cleaver.logic">StitchJob</a></td>
|
||||||
|
<th class="colLast" scope="row"> </th>
|
||||||
|
</tr>
|
||||||
|
<tr class="rowColor" id="i25">
|
||||||
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/panels/StitchPanel.html" title="class in eu.steffo.cleaver.gui.panels">StitchPanel</a></td>
|
||||||
|
<th class="colLast" scope="row"> </th>
|
||||||
|
</tr>
|
||||||
|
<tr class="altColor" id="i26">
|
||||||
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/TitleRow.html" title="class in eu.steffo.cleaver.gui.rows">TitleRow</a></td>
|
<td class="colFirst"><a href="eu/steffo/cleaver/gui/rows/TitleRow.html" title="class in eu.steffo.cleaver.gui.rows">TitleRow</a></td>
|
||||||
<th class="colLast" scope="row"> </th>
|
<th class="colLast" scope="row"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class="rowColor" id="i27">
|
||||||
|
<td class="colFirst"><a href="eu/steffo/cleaver/logic/progress/WorkingProgress.html" title="class in eu.steffo.cleaver.logic.progress">WorkingProgress</a></td>
|
||||||
|
<th class="colLast" scope="row"> </th>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>All Packages</title>
|
<title>All Packages</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="package index">
|
<meta name="description" content="package index">
|
||||||
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
|
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
@ -112,6 +112,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||||
<td class="colLast"> </td>
|
<td class="colLast"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor">
|
<tr class="altColor">
|
||||||
|
<th class="colFirst" scope="row"><a href="eu/steffo/cleaver/logic/progress/package-summary.html">eu.steffo.cleaver.logic.progress</a></th>
|
||||||
|
<td class="colLast"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="rowColor">
|
||||||
<th class="colFirst" scope="row"><a href="eu/steffo/cleaver/logic/split/package-summary.html">eu.steffo.cleaver.logic.split</a></th>
|
<th class="colFirst" scope="row"><a href="eu/steffo/cleaver/logic/split/package-summary.html">eu.steffo.cleaver.logic.split</a></th>
|
||||||
<td class="colLast"> </td>
|
<td class="colLast"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>Constant Field Values</title>
|
<title>Constant Field Values</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="summary of constants">
|
<meta name="description" content="summary of constants">
|
||||||
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
|
<meta name="generator" content="javadoc/ConstantsSummaryWriterImpl">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>Deprecated List</title>
|
<title>Deprecated List</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="deprecated elements">
|
<meta name="description" content="deprecated elements">
|
||||||
<meta name="generator" content="javadoc/DeprecatedListWriter">
|
<meta name="generator" content="javadoc/DeprecatedListWriter">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
|
|
@ -6,4 +6,5 @@ eu.steffo.cleaver.gui.rows.option
|
||||||
eu.steffo.cleaver.logic
|
eu.steffo.cleaver.logic
|
||||||
eu.steffo.cleaver.logic.compress
|
eu.steffo.cleaver.logic.compress
|
||||||
eu.steffo.cleaver.logic.crypt
|
eu.steffo.cleaver.logic.crypt
|
||||||
|
eu.steffo.cleaver.logic.progress
|
||||||
eu.steffo.cleaver.logic.split
|
eu.steffo.cleaver.logic.split
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>API Help</title>
|
<title>API Help</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="help">
|
<meta name="description" content="help">
|
||||||
<meta name="generator" content="javadoc/HelpWriter">
|
<meta name="generator" content="javadoc/HelpWriter">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>Overview</title>
|
<title>Overview</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="package index">
|
<meta name="description" content="package index">
|
||||||
<meta name="generator" content="javadoc/PackageIndexWriter">
|
<meta name="generator" content="javadoc/PackageIndexWriter">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
@ -109,6 +109,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||||
<td class="colLast"> </td>
|
<td class="colLast"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor" id="i8">
|
<tr class="altColor" id="i8">
|
||||||
|
<th class="colFirst" scope="row"><a href="eu/steffo/cleaver/logic/progress/package-summary.html">eu.steffo.cleaver.logic.progress</a></th>
|
||||||
|
<td class="colLast"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr class="rowColor" id="i9">
|
||||||
<th class="colFirst" scope="row"><a href="eu/steffo/cleaver/logic/split/package-summary.html">eu.steffo.cleaver.logic.split</a></th>
|
<th class="colFirst" scope="row"><a href="eu/steffo/cleaver/logic/split/package-summary.html">eu.steffo.cleaver.logic.split</a></th>
|
||||||
<td class="colLast"> </td>
|
<td class="colLast"> </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>Generated Documentation (Untitled)</title>
|
<title>Generated Documentation (Untitled)</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="index redirect">
|
<meta name="description" content="index redirect">
|
||||||
<meta name="generator" content="javadoc/IndexRedirectWriter">
|
<meta name="generator" content="javadoc/IndexRedirectWriter">
|
||||||
<link rel="canonical" href="index.html">
|
<link rel="canonical" href="index.html">
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>Class Hierarchy</title>
|
<title>Class Hierarchy</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="class tree">
|
<meta name="description" content="class tree">
|
||||||
<meta name="generator" content="javadoc/TreeWriter">
|
<meta name="generator" content="javadoc/TreeWriter">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
@ -77,6 +77,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||||
<li><a href="eu/steffo/cleaver/logic/package-tree.html">eu.steffo.cleaver.logic</a>, </li>
|
<li><a href="eu/steffo/cleaver/logic/package-tree.html">eu.steffo.cleaver.logic</a>, </li>
|
||||||
<li><a href="eu/steffo/cleaver/logic/compress/package-tree.html">eu.steffo.cleaver.logic.compress</a>, </li>
|
<li><a href="eu/steffo/cleaver/logic/compress/package-tree.html">eu.steffo.cleaver.logic.compress</a>, </li>
|
||||||
<li><a href="eu/steffo/cleaver/logic/crypt/package-tree.html">eu.steffo.cleaver.logic.crypt</a>, </li>
|
<li><a href="eu/steffo/cleaver/logic/crypt/package-tree.html">eu.steffo.cleaver.logic.crypt</a>, </li>
|
||||||
|
<li><a href="eu/steffo/cleaver/logic/progress/package-tree.html">eu.steffo.cleaver.logic.progress</a>, </li>
|
||||||
<li><a href="eu/steffo/cleaver/logic/split/package-tree.html">eu.steffo.cleaver.logic.split</a></li>
|
<li><a href="eu/steffo/cleaver/logic/split/package-tree.html">eu.steffo.cleaver.logic.split</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -145,17 +146,28 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||||
</li>
|
</li>
|
||||||
<li class="circle">eu.steffo.cleaver.logic.compress.<a href="eu/steffo/cleaver/logic/compress/CompressConfig.html" title="class in eu.steffo.cleaver.logic.compress"><span class="typeNameLink">CompressConfig</span></a></li>
|
<li class="circle">eu.steffo.cleaver.logic.compress.<a href="eu/steffo/cleaver/logic/compress/CompressConfig.html" title="class in eu.steffo.cleaver.logic.compress"><span class="typeNameLink">CompressConfig</span></a></li>
|
||||||
<li class="circle">eu.steffo.cleaver.logic.crypt.<a href="eu/steffo/cleaver/logic/crypt/CryptConfig.html" title="class in eu.steffo.cleaver.logic.crypt"><span class="typeNameLink">CryptConfig</span></a></li>
|
<li class="circle">eu.steffo.cleaver.logic.crypt.<a href="eu/steffo/cleaver/logic/crypt/CryptConfig.html" title="class in eu.steffo.cleaver.logic.crypt"><span class="typeNameLink">CryptConfig</span></a></li>
|
||||||
|
<li class="circle">eu.steffo.cleaver.<a href="eu/steffo/cleaver/Main.html" title="class in eu.steffo.cleaver"><span class="typeNameLink">Main</span></a></li>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.progress.<a href="eu/steffo/cleaver/logic/progress/Progress.html" title="class in eu.steffo.cleaver.logic.progress"><span class="typeNameLink">Progress</span></a>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.progress.<a href="eu/steffo/cleaver/logic/progress/FinishedProgress.html" title="class in eu.steffo.cleaver.logic.progress"><span class="typeNameLink">FinishedProgress</span></a></li>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.progress.<a href="eu/steffo/cleaver/logic/progress/NotStartedProgress.html" title="class in eu.steffo.cleaver.logic.progress"><span class="typeNameLink">NotStartedProgress</span></a></li>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.progress.<a href="eu/steffo/cleaver/logic/progress/WorkingProgress.html" title="class in eu.steffo.cleaver.logic.progress"><span class="typeNameLink">WorkingProgress</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.split.<a href="eu/steffo/cleaver/logic/split/SplitConfig.html" title="class in eu.steffo.cleaver.logic.split"><span class="typeNameLink">SplitConfig</span></a>
|
||||||
|
<ul>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.split.<a href="eu/steffo/cleaver/logic/split/SplitByPartsConfig.html" title="class in eu.steffo.cleaver.logic.split"><span class="typeNameLink">SplitByPartsConfig</span></a></li>
|
||||||
|
<li class="circle">eu.steffo.cleaver.logic.split.<a href="eu/steffo/cleaver/logic/split/SplitBySizeConfig.html" title="class in eu.steffo.cleaver.logic.split"><span class="typeNameLink">SplitBySizeConfig</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="circle">java.lang.Thread (implements java.lang.Runnable)
|
||||||
|
<ul>
|
||||||
<li class="circle">eu.steffo.cleaver.logic.<a href="eu/steffo/cleaver/logic/Job.html" title="class in eu.steffo.cleaver.logic"><span class="typeNameLink">Job</span></a>
|
<li class="circle">eu.steffo.cleaver.logic.<a href="eu/steffo/cleaver/logic/Job.html" title="class in eu.steffo.cleaver.logic"><span class="typeNameLink">Job</span></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="circle">eu.steffo.cleaver.logic.<a href="eu/steffo/cleaver/logic/ChopJob.html" title="class in eu.steffo.cleaver.logic"><span class="typeNameLink">ChopJob</span></a></li>
|
<li class="circle">eu.steffo.cleaver.logic.<a href="eu/steffo/cleaver/logic/ChopJob.html" title="class in eu.steffo.cleaver.logic"><span class="typeNameLink">ChopJob</span></a></li>
|
||||||
<li class="circle">eu.steffo.cleaver.logic.<a href="eu/steffo/cleaver/logic/StitchJob.html" title="class in eu.steffo.cleaver.logic"><span class="typeNameLink">StitchJob</span></a></li>
|
<li class="circle">eu.steffo.cleaver.logic.<a href="eu/steffo/cleaver/logic/StitchJob.html" title="class in eu.steffo.cleaver.logic"><span class="typeNameLink">StitchJob</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="circle">eu.steffo.cleaver.<a href="eu/steffo/cleaver/Main.html" title="class in eu.steffo.cleaver"><span class="typeNameLink">Main</span></a></li>
|
|
||||||
<li class="circle">eu.steffo.cleaver.logic.split.<a href="eu/steffo/cleaver/logic/split/SplitConfig.html" title="class in eu.steffo.cleaver.logic.split"><span class="typeNameLink">SplitConfig</span></a>
|
|
||||||
<ul>
|
|
||||||
<li class="circle">eu.steffo.cleaver.logic.split.<a href="eu/steffo/cleaver/logic/split/SplitByPartsConfig.html" title="class in eu.steffo.cleaver.logic.split"><span class="typeNameLink">SplitByPartsConfig</span></a></li>
|
|
||||||
<li class="circle">eu.steffo.cleaver.logic.split.<a href="eu/steffo/cleaver/logic/split/SplitBySizeConfig.html" title="class in eu.steffo.cleaver.logic.split"><span class="typeNameLink">SplitBySizeConfig</span></a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"eu.steffo.cleaver"},{"l":"eu.steffo.cleaver.gui"},{"l":"eu.steffo.cleaver.gui.panels"},{"l":"eu.steffo.cleaver.gui.rows"},{"l":"eu.steffo.cleaver.gui.rows.option"},{"l":"eu.steffo.cleaver.logic"},{"l":"eu.steffo.cleaver.logic.compress"},{"l":"eu.steffo.cleaver.logic.crypt"},{"l":"eu.steffo.cleaver.logic.split"}]
|
packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"eu.steffo.cleaver"},{"l":"eu.steffo.cleaver.gui"},{"l":"eu.steffo.cleaver.gui.panels"},{"l":"eu.steffo.cleaver.gui.rows"},{"l":"eu.steffo.cleaver.gui.rows.option"},{"l":"eu.steffo.cleaver.logic"},{"l":"eu.steffo.cleaver.logic.compress"},{"l":"eu.steffo.cleaver.logic.crypt"},{"l":"eu.steffo.cleaver.logic.progress"},{"l":"eu.steffo.cleaver.logic.split"}]
|
|
@ -2,10 +2,10 @@
|
||||||
<!-- NewPage -->
|
<!-- NewPage -->
|
||||||
<html lang="it">
|
<html lang="it">
|
||||||
<head>
|
<head>
|
||||||
<!-- Generated by javadoc (13.0.1) on Sat Dec 07 01:08:34 CET 2019 -->
|
<!-- Generated by javadoc (13.0.1) on Sun Dec 08 03:09:44 CET 2019 -->
|
||||||
<title>Serialized Form</title>
|
<title>Serialized Form</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta name="dc.created" content="2019-12-07">
|
<meta name="dc.created" content="2019-12-08">
|
||||||
<meta name="description" content="serialized forms">
|
<meta name="description" content="serialized forms">
|
||||||
<meta name="generator" content="javadoc/SerializedFormWriterImpl">
|
<meta name="generator" content="javadoc/SerializedFormWriterImpl">
|
||||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"eu.steffo.cleaver.gui.panels","l":"ChopAndStitchPanel"},{"p":"eu.steffo.cleaver.logic","l":"ChopJob"},{"p":"eu.steffo.cleaver.gui.panels","l":"ChopPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverFrame"},{"p":"eu.steffo.cleaver.logic.compress","l":"CompressConfig"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"CompressRow"},{"p":"eu.steffo.cleaver.gui.rows","l":"CreateJobButtonRow"},{"p":"eu.steffo.cleaver.gui.panels","l":"CreateJobPanel"},{"p":"eu.steffo.cleaver.logic.crypt","l":"CryptConfig"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"CryptRow"},{"p":"eu.steffo.cleaver.gui.rows","l":"FileSelectRow"},{"p":"eu.steffo.cleaver.logic","l":"Job"},{"p":"eu.steffo.cleaver.gui.panels","l":"JobsButtonsPanel"},{"p":"eu.steffo.cleaver.gui.panels","l":"JobsTablePanel.JobsTableModel"},{"p":"eu.steffo.cleaver.gui.panels","l":"JobsTablePanel"},{"p":"eu.steffo.cleaver","l":"Main"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"OptionRow"},{"p":"eu.steffo.cleaver.gui.rows","l":"Row"},{"p":"eu.steffo.cleaver.logic.split","l":"SplitByPartsConfig"},{"p":"eu.steffo.cleaver.logic.split","l":"SplitBySizeConfig"},{"p":"eu.steffo.cleaver.logic.split","l":"SplitConfig"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"SplitRow"},{"p":"eu.steffo.cleaver.logic","l":"StitchJob"},{"p":"eu.steffo.cleaver.gui.panels","l":"StitchPanel"},{"p":"eu.steffo.cleaver.gui.rows","l":"TitleRow"}]
|
typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"eu.steffo.cleaver.gui.panels","l":"ChopAndStitchPanel"},{"p":"eu.steffo.cleaver.logic","l":"ChopJob"},{"p":"eu.steffo.cleaver.gui.panels","l":"ChopPanel"},{"p":"eu.steffo.cleaver.gui","l":"CleaverFrame"},{"p":"eu.steffo.cleaver.logic.compress","l":"CompressConfig"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"CompressRow"},{"p":"eu.steffo.cleaver.gui.rows","l":"CreateJobButtonRow"},{"p":"eu.steffo.cleaver.gui.panels","l":"CreateJobPanel"},{"p":"eu.steffo.cleaver.logic.crypt","l":"CryptConfig"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"CryptRow"},{"p":"eu.steffo.cleaver.gui.rows","l":"FileSelectRow"},{"p":"eu.steffo.cleaver.logic.progress","l":"FinishedProgress"},{"p":"eu.steffo.cleaver.logic","l":"Job"},{"p":"eu.steffo.cleaver.gui.panels","l":"JobsButtonsPanel"},{"p":"eu.steffo.cleaver.gui.panels","l":"JobsTablePanel.JobsTableModel"},{"p":"eu.steffo.cleaver.gui.panels","l":"JobsTablePanel"},{"p":"eu.steffo.cleaver","l":"Main"},{"p":"eu.steffo.cleaver.logic.progress","l":"NotStartedProgress"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"OptionRow"},{"p":"eu.steffo.cleaver.logic.progress","l":"Progress"},{"p":"eu.steffo.cleaver.gui.rows","l":"Row"},{"p":"eu.steffo.cleaver.logic.split","l":"SplitByPartsConfig"},{"p":"eu.steffo.cleaver.logic.split","l":"SplitBySizeConfig"},{"p":"eu.steffo.cleaver.logic.split","l":"SplitConfig"},{"p":"eu.steffo.cleaver.gui.rows.option","l":"SplitRow"},{"p":"eu.steffo.cleaver.logic","l":"StitchJob"},{"p":"eu.steffo.cleaver.gui.panels","l":"StitchPanel"},{"p":"eu.steffo.cleaver.gui.rows","l":"TitleRow"},{"p":"eu.steffo.cleaver.logic.progress","l":"WorkingProgress"}]
|
|
@ -4,6 +4,7 @@ import eu.steffo.cleaver.gui.panels.ChopAndStitchPanel;
|
||||||
import eu.steffo.cleaver.gui.panels.JobsButtonsPanel;
|
import eu.steffo.cleaver.gui.panels.JobsButtonsPanel;
|
||||||
import eu.steffo.cleaver.gui.panels.JobsTablePanel;
|
import eu.steffo.cleaver.gui.panels.JobsTablePanel;
|
||||||
import eu.steffo.cleaver.logic.Job;
|
import eu.steffo.cleaver.logic.Job;
|
||||||
|
import eu.steffo.cleaver.logic.progress.NotStartedProgress;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
|
@ -72,7 +73,14 @@ public class CleaverFrame extends JFrame {
|
||||||
ActionListener startListener = new ActionListener() {
|
ActionListener startListener = new ActionListener() {
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
// TODO
|
for(Job job : jobs) {
|
||||||
|
if(job.getProgress().getClass() == NotStartedProgress.class)
|
||||||
|
{
|
||||||
|
job.start();
|
||||||
|
}
|
||||||
|
// TODO: refresh the jobs table every once in a while
|
||||||
|
// TODO: catch exceptions from the jobs
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -67,13 +67,28 @@ public abstract class CreateJobPanel extends JPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void createAndAddJobs(ArrayList<Job> jobs) {
|
public void createAndAddJobs(ArrayList<Job> jobs) {
|
||||||
|
if(fileSelectPanel.getSelectedFiles().length == 0) {
|
||||||
|
JOptionPane.showMessageDialog(null, "No files selected.", "Error", JOptionPane.ERROR_MESSAGE);
|
||||||
|
}
|
||||||
for(File file : fileSelectPanel.getSelectedFiles()) {
|
for(File file : fileSelectPanel.getSelectedFiles()) {
|
||||||
|
|
||||||
|
SplitConfig sc;
|
||||||
try {
|
try {
|
||||||
Job job = getJobClass().getConstructor(File.class, SplitConfig.class, CryptConfig.class, CompressConfig.class).newInstance(file, splitOptionPanel.getSplitConfig(), cryptOptionPanel.getCryptConfig(), compressOptionPanel.getCompressConfig());
|
sc = splitOptionPanel.getSplitConfig();
|
||||||
|
} catch (NumberFormatException exc) {
|
||||||
|
JOptionPane.showMessageDialog(null, "Invalid value in the Split fields.", "Error", JOptionPane.ERROR_MESSAGE);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
CryptConfig cc = cryptOptionPanel.getCryptConfig();
|
||||||
|
|
||||||
|
CompressConfig zc = compressOptionPanel.getCompressConfig();
|
||||||
|
|
||||||
|
try {
|
||||||
|
Job job = getJobClass().getConstructor(File.class, SplitConfig.class, CryptConfig.class, CompressConfig.class).newInstance(file, sc, cc, zc);
|
||||||
jobs.add(job);
|
jobs.add(job);
|
||||||
} catch (InstantiationException | NoSuchMethodException | InvocationTargetException | IllegalAccessException ex) {
|
} catch (InstantiationException | NoSuchMethodException | InvocationTargetException | IllegalAccessException ex) {
|
||||||
// TODO: open an error jframe instead
|
JOptionPane.showMessageDialog(null, ex.toString(), "Error", JOptionPane.ERROR_MESSAGE);
|
||||||
ex.printStackTrace();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fileSelectPanel.clearSelectedFiles();
|
fileSelectPanel.clearSelectedFiles();
|
||||||
|
|
|
@ -71,9 +71,10 @@ public class JobsTablePanel extends JPanel {
|
||||||
if(c == null) return "";
|
if(c == null) return "";
|
||||||
return c.toString();
|
return c.toString();
|
||||||
case 5:
|
case 5:
|
||||||
return "Not started"; // TODO
|
return job.getProgress().toString();
|
||||||
|
|
||||||
}
|
}
|
||||||
return "???";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,10 @@ import eu.steffo.cleaver.logic.crypt.CryptConfig;
|
||||||
import eu.steffo.cleaver.logic.split.SplitConfig;
|
import eu.steffo.cleaver.logic.split.SplitConfig;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.io.FileInputStream;
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
import java.util.zip.DeflaterOutputStream;
|
||||||
|
|
||||||
public class ChopJob extends Job {
|
public class ChopJob extends Job {
|
||||||
|
|
||||||
|
@ -16,4 +20,21 @@ public class ChopJob extends Job {
|
||||||
public String getType() {
|
public String getType() {
|
||||||
return "Chop";
|
return "Chop";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
FileInputStream inputStream;
|
||||||
|
try {
|
||||||
|
inputStream = new FileInputStream(file);
|
||||||
|
} catch (FileNotFoundException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: use DeflaterOutputStream to compress
|
||||||
|
// TODO: create a CipherOutputStream to encrypt
|
||||||
|
// TODO: create a SplitFileOutputStream to output to multiple files, or use a simple FileOutputStream to output to a single file
|
||||||
|
|
||||||
|
// TODO: end with inputStream.transferTo(outputStream);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,19 +4,23 @@ import java.io.File;
|
||||||
|
|
||||||
import eu.steffo.cleaver.logic.compress.CompressConfig;
|
import eu.steffo.cleaver.logic.compress.CompressConfig;
|
||||||
import eu.steffo.cleaver.logic.crypt.CryptConfig;
|
import eu.steffo.cleaver.logic.crypt.CryptConfig;
|
||||||
|
import eu.steffo.cleaver.logic.progress.NotStartedProgress;
|
||||||
|
import eu.steffo.cleaver.logic.progress.Progress;
|
||||||
import eu.steffo.cleaver.logic.split.SplitConfig;
|
import eu.steffo.cleaver.logic.split.SplitConfig;
|
||||||
|
|
||||||
public abstract class Job {
|
public abstract class Job extends Thread {
|
||||||
protected File file;
|
protected final File file;
|
||||||
protected SplitConfig splitConfig;
|
protected final SplitConfig splitConfig;
|
||||||
protected CryptConfig cryptConfig;
|
protected final CryptConfig cryptConfig;
|
||||||
protected CompressConfig compressConfig;
|
protected final CompressConfig compressConfig;
|
||||||
|
protected Progress progress;
|
||||||
|
|
||||||
public Job(File file, SplitConfig splitConfig, CryptConfig cryptConfig, CompressConfig compressConfig) {
|
public Job(File file, SplitConfig splitConfig, CryptConfig cryptConfig, CompressConfig compressConfig) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
this.splitConfig = splitConfig;
|
this.splitConfig = splitConfig;
|
||||||
this.cryptConfig = cryptConfig;
|
this.cryptConfig = cryptConfig;
|
||||||
this.compressConfig = compressConfig;
|
this.compressConfig = compressConfig;
|
||||||
|
this.progress = new NotStartedProgress();
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract String getType();
|
public abstract String getType();
|
||||||
|
@ -36,4 +40,8 @@ public abstract class Job {
|
||||||
public CompressConfig getCompressConfig() {
|
public CompressConfig getCompressConfig() {
|
||||||
return compressConfig;
|
return compressConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Progress getProgress() {
|
||||||
|
return progress;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,4 +16,9 @@ public class StitchJob extends Job {
|
||||||
public String getType() {
|
public String getType() {
|
||||||
return "Stitch";
|
return "Stitch";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
package eu.steffo.cleaver.logic.progress;
|
||||||
|
|
||||||
|
public class FinishedProgress extends Progress {
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Finished";
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
package eu.steffo.cleaver.logic.progress;
|
||||||
|
|
||||||
|
public class NotStartedProgress extends Progress {
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "Not started";
|
||||||
|
}
|
||||||
|
}
|
4
src/eu/steffo/cleaver/logic/progress/Progress.java
Normal file
4
src/eu/steffo/cleaver/logic/progress/Progress.java
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
package eu.steffo.cleaver.logic.progress;
|
||||||
|
|
||||||
|
public abstract class Progress {
|
||||||
|
}
|
18
src/eu/steffo/cleaver/logic/progress/WorkingProgress.java
Normal file
18
src/eu/steffo/cleaver/logic/progress/WorkingProgress.java
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
package eu.steffo.cleaver.logic.progress;
|
||||||
|
|
||||||
|
public class WorkingProgress extends Progress {
|
||||||
|
protected float progress;
|
||||||
|
|
||||||
|
public WorkingProgress() {
|
||||||
|
this.progress = 0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
public WorkingProgress(float progress) {
|
||||||
|
this.progress = progress;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return String.format("%.0f%%", progress * 100);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue