diff --git a/javaDoc/allclasses-frame.html b/javaDoc/allclasses-frame.html new file mode 100644 index 0000000..7d12f20 --- /dev/null +++ b/javaDoc/allclasses-frame.html @@ -0,0 +1,31 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/javaDoc/allclasses-noframe.html b/javaDoc/allclasses-noframe.html new file mode 100644 index 0000000..c9b414f --- /dev/null +++ b/javaDoc/allclasses-noframe.html @@ -0,0 +1,31 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/javaDoc/constant-values.html b/javaDoc/constant-values.html new file mode 100644 index 0000000..e22f633 --- /dev/null +++ b/javaDoc/constant-values.html @@ -0,0 +1,124 @@ + + + + + +Constant Field Values + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/javaDoc/deprecated-list.html b/javaDoc/deprecated-list.html new file mode 100644 index 0000000..69b3fd2 --- /dev/null +++ b/javaDoc/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + +Deprecated List + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/javaDoc/help-doc.html b/javaDoc/help-doc.html new file mode 100644 index 0000000..6c22cd5 --- /dev/null +++ b/javaDoc/help-doc.html @@ -0,0 +1,229 @@ + + + + + +API Help + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/javaDoc/index-files/index-1.html b/javaDoc/index-files/index-1.html new file mode 100644 index 0000000..60100ce --- /dev/null +++ b/javaDoc/index-files/index-1.html @@ -0,0 +1,141 @@ + + + + + +A-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D F G H M O R S T U  + + +

A

+
+
AboutDialog - Class in org.dclermonte.siba.gui
+
 
+
AboutDialog() - Constructor for class org.dclermonte.siba.gui.AboutDialog
+
+
Create the dialog.
+
+
approveSelection() - Method in class org.dclermonte.siba.gui.CheckDirectorySelector
+
 
+
approveSelection() - Method in class org.dclermonte.siba.gui.SourceDirectorySelector
+
 
+
approveSelection() - Method in class org.dclermonte.siba.gui.TargetDirectorySelector
+
 
+
availableLookAndFeels() - Static method in class org.dclermonte.siba.gui.utils.GUIToolBox
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/javaDoc/index-files/index-10.html b/javaDoc/index-files/index-10.html new file mode 100644 index 0000000..299f4e8 --- /dev/null +++ b/javaDoc/index-files/index-10.html @@ -0,0 +1,135 @@ + + + + + +R-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D F G H M O R S T U  + + +

R

+
+
run(String[]) - Static method in class org.dclermonte.siba.cli.SibaCLI
+
+
Launcher for CLI
+
+
run() - Static method in class org.dclermonte.siba.gui.SibaGUI
+
+
Launcher for GUI
+
+
+A B C D F G H M O R S T U 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/javaDoc/index-files/index-11.html b/javaDoc/index-files/index-11.html new file mode 100644 index 0000000..8d57c99 --- /dev/null +++ b/javaDoc/index-files/index-11.html @@ -0,0 +1,208 @@ + + + + + +S-Index + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D F G H M O R S T U  + + +

S

+
+
setSelectedFile(File) - Method in class org.dclermonte.siba.gui.CheckDirectorySelector
+
 
+
setSelectedFile(File) - Method in class org.dclermonte.siba.gui.SourceDirectorySelector
+
 
+
setSelectedFile(File) - Method in class org.dclermonte.siba.gui.TargetDirectorySelector
+
 
+
setVisible(boolean) - Method in class org.dclermonte.siba.gui.CheckDirectorySelector
+
 
+
setVisible(boolean) - Method in class org.dclermonte.siba.gui.SourceDirectorySelector
+
 
+
setVisible(boolean) - Method in class org.dclermonte.siba.gui.TargetDirectorySelector
+
 
+
showSelectorDialog(Component, File) - Static method in class org.dclermonte.siba.gui.CheckDirectorySelector
+
+
This method is the main one of the selector.
+
+
showSelectorDialog(Component, File) - Static method in class org.dclermonte.siba.gui.SourceDirectorySelector
+
+
This method is the main one of the selector.
+
+
showSelectorDialog(Component, File) - Static method in class org.dclermonte.siba.gui.TargetDirectorySelector
+
+
This method is the main one of the selector.
+
+
Siba - Class in org.dclermonte.siba
+
 
+
Siba() - Constructor for class org.dclermonte.siba.Siba
+
 
+
SibaCLI - Class in org.dclermonte.siba.cli
+
+
CLI = the Command Line Interface
+
+
SibaCLI() - Constructor for class org.dclermonte.siba.cli.SibaCLI
+
 
+
SibaException - Class in org.dclermonte.siba
+
+
The class Exception and its subclasses are a form of + Throwable that indicates conditions that a reasonable application + might want to catch.
+
+
SibaException() - Constructor for class org.dclermonte.siba.SibaException
+
+
Constructs a new exception with null as its detail message.
+
+
SibaException(String) - Constructor for class org.dclermonte.siba.SibaException
+
+
Constructs a new exception with the specified detail message.
+
+
SibaException(String, Throwable) - Constructor for class org.dclermonte.siba.SibaException
+
+
Constructs a new exception with the specified detail message and cause.
+
+
SibaException(Throwable) - Constructor for class org.dclermonte.siba.SibaException
+
+
Constructs a new exception with the specified cause and a detail message + of (cause==null ?
+
+
SibaGUI - Class in org.dclermonte.siba.gui
+
+
The main class for GUI (Graphical User Interface )
+
+
SibaGUI() - Constructor for class org.dclermonte.siba.gui.SibaGUI
+
+
Create the application.
+
+
SibaManager - Class in org.dclermonte.siba.model
+
+
The model class
+
+
SibaManager() - Constructor for class org.dclermonte.siba.model.SibaManager
+
 
+
SibaNullException - Class in org.dclermonte.siba
+
 
+
SibaNullException() - Constructor for class org.dclermonte.siba.SibaNullException
+
 
+
SibaNullException(String) - Constructor for class org.dclermonte.siba.SibaNullException
+
 
+
SourceDirectorySelector - Class in org.dclermonte.siba.gui
+
 
+
SourceDirectorySelector(File) - Constructor for class org.dclermonte.siba.gui.SourceDirectorySelector
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-12.html b/javaDoc/index-files/index-12.html new file mode 100644 index 0000000..dfe0c24 --- /dev/null +++ b/javaDoc/index-files/index-12.html @@ -0,0 +1,131 @@ + + + + + +T-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

T

+
+
TargetDirectorySelector - Class in org.dclermonte.siba.gui
+
 
+
TargetDirectorySelector(File) - Constructor for class org.dclermonte.siba.gui.TargetDirectorySelector
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-13.html b/javaDoc/index-files/index-13.html new file mode 100644 index 0000000..92f8292 --- /dev/null +++ b/javaDoc/index-files/index-13.html @@ -0,0 +1,129 @@ + + + + + +U-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

U

+
+
updateLanguage(Locale) - Method in class org.dclermonte.siba.gui.SibaGUI
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-2.html b/javaDoc/index-files/index-2.html new file mode 100644 index 0000000..e62a796 --- /dev/null +++ b/javaDoc/index-files/index-2.html @@ -0,0 +1,143 @@ + + + + + +B-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

B

+
+
backup(File, File) - Static method in class org.dclermonte.siba.cli.SibaCLI
+
+
Call for Backup from CLI
+
+
backup(File, File) - Static method in class org.dclermonte.siba.model.SibaManager
+
+
perform the backup
+
+
BackupPanel - Class in org.dclermonte.siba.gui
+
+
panel for backup
+
+
BackupPanel() - Constructor for class org.dclermonte.siba.gui.BackupPanel
+
+
Create the panel.
+
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-3.html b/javaDoc/index-files/index-3.html new file mode 100644 index 0000000..0435cfc --- /dev/null +++ b/javaDoc/index-files/index-3.html @@ -0,0 +1,157 @@ + + + + + +C-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

C

+
+
cancelSelection() - Method in class org.dclermonte.siba.gui.CheckDirectorySelector
+
 
+
cancelSelection() - Method in class org.dclermonte.siba.gui.SourceDirectorySelector
+
 
+
cancelSelection() - Method in class org.dclermonte.siba.gui.TargetDirectorySelector
+
 
+
check(File) - Static method in class org.dclermonte.siba.cli.SibaCLI
+
+
Call for Check from CLI
+
+
check(File) - Static method in class org.dclermonte.siba.model.SibaManager
+
+
To check the file
+
+
CheckDirectorySelector - Class in org.dclermonte.siba.gui
+
+
* @author Christian Pierre MOMON (christian.momon@devinsy.fr)
+
+
CheckDirectorySelector(File) - Constructor for class org.dclermonte.siba.gui.CheckDirectorySelector
+
 
+
CheckPanel - Class in org.dclermonte.siba.gui
+
+
The panel for Check
+
+
CheckPanel() - Constructor for class org.dclermonte.siba.gui.CheckPanel
+
+
Create the panel.
+
+
choosenDirectory() - Method in class org.dclermonte.siba.gui.CheckPanel
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-4.html b/javaDoc/index-files/index-4.html new file mode 100644 index 0000000..c263cb9 --- /dev/null +++ b/javaDoc/index-files/index-4.html @@ -0,0 +1,129 @@ + + + + + +D-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

D

+
+
directoryToSave(File, TarArchiveOutputStream, int) - Static method in class org.dclermonte.siba.model.SibaManager
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-5.html b/javaDoc/index-files/index-5.html new file mode 100644 index 0000000..8317ae0 --- /dev/null +++ b/javaDoc/index-files/index-5.html @@ -0,0 +1,131 @@ + + + + + +F-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

F

+
+
fileMD5(File, String) - Static method in class org.dclermonte.siba.model.SibaManager
+
+
Generate the file with MD5
+
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-6.html b/javaDoc/index-files/index-6.html new file mode 100644 index 0000000..da2aa61 --- /dev/null +++ b/javaDoc/index-files/index-6.html @@ -0,0 +1,133 @@ + + + + + +G-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

G

+
+
GUIToolBox - Class in org.dclermonte.siba.gui.utils
+
+
Some utility
+
+
GUIToolBox() - Constructor for class org.dclermonte.siba.gui.utils.GUIToolBox
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-7.html b/javaDoc/index-files/index-7.html new file mode 100644 index 0000000..88d7a45 --- /dev/null +++ b/javaDoc/index-files/index-7.html @@ -0,0 +1,131 @@ + + + + + +H-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

H

+
+
help() - Static method in class org.dclermonte.siba.cli.SibaCLI
+
+
The help response
+
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-8.html b/javaDoc/index-files/index-8.html new file mode 100644 index 0000000..4bbe613 --- /dev/null +++ b/javaDoc/index-files/index-8.html @@ -0,0 +1,139 @@ + + + + + +M-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

M

+
+
main(String) - Static method in class org.dclermonte.siba.gui.AboutDialog
+
+
Launch the application.
+
+
main(String[]) - Static method in class org.dclermonte.siba.Siba
+
+
Siba stand for Simple Backup This is the main class
+
+
md5(File) - Static method in class org.dclermonte.siba.model.SibaManager
+
+
Calculate the MD5 itself
+
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index-files/index-9.html b/javaDoc/index-files/index-9.html new file mode 100644 index 0000000..7adc9be --- /dev/null +++ b/javaDoc/index-files/index-9.html @@ -0,0 +1,133 @@ + + + + + +O-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H M O R S T U  + + +

O

+
+
org.dclermonte.siba.cli - package org.dclermonte.siba.cli
+
 
+
org.dclermonte.siba.gui - package org.dclermonte.siba.gui
+
 
+
org.dclermonte.siba.gui.utils - package org.dclermonte.siba.gui.utils
+
 
+
+A B C D F G H M O R S T U 
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/index.html b/javaDoc/index.html new file mode 100644 index 0000000..1d95a1f --- /dev/null +++ b/javaDoc/index.html @@ -0,0 +1,74 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/javaDoc/org/dclermonte/siba/Siba.html b/javaDoc/org/dclermonte/siba/Siba.html new file mode 100644 index 0000000..40467c2 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/Siba.html @@ -0,0 +1,287 @@ + + + + + +Siba + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba
+

Class Siba

+
+
+ +
+
    +
  • +
    +
    +
    public class Siba
    +extends Object
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/SibaException.html b/javaDoc/org/dclermonte/siba/SibaException.html new file mode 100644 index 0000000..9078586 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/SibaException.html @@ -0,0 +1,365 @@ + + + + + +SibaException + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba
+

Class SibaException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    Direct Known Subclasses:
    +
    SibaNullException
    +
    +
    +
    +
    public class SibaException
    +extends Throwable
    +
    The class Exception and its subclasses are a form of + Throwable that indicates conditions that a reasonable application + might want to catch. + +

    + The class Exception and any subclasses that are not also subclasses + of RuntimeException are checked + exceptions. Checked exceptions need to be declared in a method or + constructor's throws clause if they can be thrown by the execution of + the method or constructor and propagate outside the method or constructor + boundary.

    +
    +
    Since:
    +
    JDK1.0
    +
    Author:
    +
    Frank Yellin
    +
    See Also:
    +
    Error, +Serialized Form
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SibaException

        +
        public SibaException()
        +
        Constructs a new exception with null as its detail message. The + cause is not initialized, and may subsequently be initialized by a call + to Throwable.initCause(java.lang.Throwable).
        +
      • +
      + + + +
        +
      • +

        SibaException

        +
        public SibaException(String message)
        +
        Constructs a new exception with the specified detail message. The cause + is not initialized, and may subsequently be initialized by a call to + Throwable.initCause(java.lang.Throwable).
        +
        +
        Parameters:
        +
        message - the detail message. The detail message is saved for later + retrieval by the Throwable.getMessage() method.
        +
        +
      • +
      + + + +
        +
      • +

        SibaException

        +
        public SibaException(String message,
        +                     Throwable cause)
        +
        Constructs a new exception with the specified detail message and cause. +

        + Note that the detail message associated with cause is not + automatically incorporated in this exception's detail message.

        +
        +
        Parameters:
        +
        message - the detail message (which is saved for later retrieval by the + Throwable.getMessage() method).
        +
        cause - the cause (which is saved for later retrieval by the + Throwable.getCause() method). (A null value is + permitted, and indicates that the cause is nonexistent or + unknown.)
        +
        Since:
        +
        1.4
        +
        +
      • +
      + + + +
        +
      • +

        SibaException

        +
        public SibaException(Throwable cause)
        +
        Constructs a new exception with the specified cause and a detail message + of (cause==null ? null : cause.toString()) (which typically + contains the class and detail message of cause). This + constructor is useful for exceptions that are little more than wrappers + for other throwables (for example, + PrivilegedActionException).
        +
        +
        Parameters:
        +
        cause - the cause (which is saved for later retrieval by the + Throwable.getCause() method). (A null value is + permitted, and indicates that the cause is nonexistent or + unknown.)
        +
        Since:
        +
        1.4
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/SibaNullException.html b/javaDoc/org/dclermonte/siba/SibaNullException.html new file mode 100644 index 0000000..ac9ad13 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/SibaNullException.html @@ -0,0 +1,274 @@ + + + + + +SibaNullException + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba
+

Class SibaNullException

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SibaNullException

        +
        public SibaNullException()
        +
      • +
      + + + +
        +
      • +

        SibaNullException

        +
        public SibaNullException(String message)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/class-use/Siba.html b/javaDoc/org/dclermonte/siba/class-use/Siba.html new file mode 100644 index 0000000..7a40abe --- /dev/null +++ b/javaDoc/org/dclermonte/siba/class-use/Siba.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.Siba + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.Siba

+
+
No usage of org.dclermonte.siba.Siba
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/class-use/SibaException.html b/javaDoc/org/dclermonte/siba/class-use/SibaException.html new file mode 100644 index 0000000..5a47b62 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/class-use/SibaException.html @@ -0,0 +1,164 @@ + + + + + +Uses of Class org.dclermonte.siba.SibaException + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.SibaException

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/class-use/SibaNullException.html b/javaDoc/org/dclermonte/siba/class-use/SibaNullException.html new file mode 100644 index 0000000..c388fd1 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/class-use/SibaNullException.html @@ -0,0 +1,222 @@ + + + + + +Uses of Class org.dclermonte.siba.SibaNullException + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.SibaNullException

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/cli/SibaCLI.html b/javaDoc/org/dclermonte/siba/cli/SibaCLI.html new file mode 100644 index 0000000..a97cd50 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/cli/SibaCLI.html @@ -0,0 +1,359 @@ + + + + + +SibaCLI + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.cli
+

Class SibaCLI

+
+
+ +
+
    +
  • +
    +
    +
    public class SibaCLI
    +extends Object
    +
    CLI = the Command Line Interface
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/cli/class-use/SibaCLI.html b/javaDoc/org/dclermonte/siba/cli/class-use/SibaCLI.html new file mode 100644 index 0000000..6380f5e --- /dev/null +++ b/javaDoc/org/dclermonte/siba/cli/class-use/SibaCLI.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.cli.SibaCLI + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.cli.SibaCLI

+
+
No usage of org.dclermonte.siba.cli.SibaCLI
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/cli/package-frame.html b/javaDoc/org/dclermonte/siba/cli/package-frame.html new file mode 100644 index 0000000..00e942c --- /dev/null +++ b/javaDoc/org/dclermonte/siba/cli/package-frame.html @@ -0,0 +1,20 @@ + + + + + +org.dclermonte.siba.cli + + + + + +

org.dclermonte.siba.cli

+
+

Classes

+ +
+ + diff --git a/javaDoc/org/dclermonte/siba/cli/package-summary.html b/javaDoc/org/dclermonte/siba/cli/package-summary.html new file mode 100644 index 0000000..84a1460 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/cli/package-summary.html @@ -0,0 +1,144 @@ + + + + + +org.dclermonte.siba.cli + + + + + + + + +
+ + + + + + + +
+ + +
+

Package org.dclermonte.siba.cli

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/cli/package-tree.html b/javaDoc/org/dclermonte/siba/cli/package-tree.html new file mode 100644 index 0000000..4d39a2b --- /dev/null +++ b/javaDoc/org/dclermonte/siba/cli/package-tree.html @@ -0,0 +1,137 @@ + + + + + +org.dclermonte.siba.cli Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package org.dclermonte.siba.cli

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/cli/package-use.html b/javaDoc/org/dclermonte/siba/cli/package-use.html new file mode 100644 index 0000000..9bebff6 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/cli/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package org.dclermonte.siba.cli + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
org.dclermonte.siba.cli

+
+
No usage of org.dclermonte.siba.cli
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/AboutDialog.html b/javaDoc/org/dclermonte/siba/gui/AboutDialog.html new file mode 100644 index 0000000..67b1c0e --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/AboutDialog.html @@ -0,0 +1,412 @@ + + + + + +AboutDialog + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class AboutDialog

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AboutDialog

        +
        public AboutDialog()
        +
        Create the dialog.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main(String string)
        +
        Launch the application.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/BackupPanel.html b/javaDoc/org/dclermonte/siba/gui/BackupPanel.html new file mode 100644 index 0000000..43c1669 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/BackupPanel.html @@ -0,0 +1,350 @@ + + + + + +BackupPanel + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class BackupPanel

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BackupPanel

        +
        public BackupPanel()
        +
        Create the panel.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/CheckDirectorySelector.html b/javaDoc/org/dclermonte/siba/gui/CheckDirectorySelector.html new file mode 100644 index 0000000..dbe335d --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/CheckDirectorySelector.html @@ -0,0 +1,464 @@ + + + + + +CheckDirectorySelector + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class CheckDirectorySelector

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CheckDirectorySelector

        +
        public CheckDirectorySelector(File targetFile)
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/CheckPanel.html b/javaDoc/org/dclermonte/siba/gui/CheckPanel.html new file mode 100644 index 0000000..ec1c62d --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/CheckPanel.html @@ -0,0 +1,391 @@ + + + + + +CheckPanel + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class CheckPanel

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/SibaGUI.html b/javaDoc/org/dclermonte/siba/gui/SibaGUI.html new file mode 100644 index 0000000..6e366a9 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/SibaGUI.html @@ -0,0 +1,306 @@ + + + + + +SibaGUI + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class SibaGUI

+
+
+ +
+
    +
  • +
    +
    +
    public class SibaGUI
    +extends Object
    +
    The main class for GUI (Graphical User Interface )
    +
    +
    Author:
    +
    papou
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/SourceDirectorySelector.html b/javaDoc/org/dclermonte/siba/gui/SourceDirectorySelector.html new file mode 100644 index 0000000..6b363e6 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/SourceDirectorySelector.html @@ -0,0 +1,465 @@ + + + + + +SourceDirectorySelector + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class SourceDirectorySelector

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SourceDirectorySelector

        +
        public SourceDirectorySelector(File targetFile)
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/TargetDirectorySelector.html b/javaDoc/org/dclermonte/siba/gui/TargetDirectorySelector.html new file mode 100644 index 0000000..6858b1e --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/TargetDirectorySelector.html @@ -0,0 +1,465 @@ + + + + + +TargetDirectorySelector + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui
+

Class TargetDirectorySelector

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TargetDirectorySelector

        +
        public TargetDirectorySelector(File targetFile)
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/AboutDialog.html b/javaDoc/org/dclermonte/siba/gui/class-use/AboutDialog.html new file mode 100644 index 0000000..9415b86 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/AboutDialog.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.AboutDialog + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.AboutDialog

+
+
No usage of org.dclermonte.siba.gui.AboutDialog
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/BackupPanel.html b/javaDoc/org/dclermonte/siba/gui/class-use/BackupPanel.html new file mode 100644 index 0000000..52b6c89 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/BackupPanel.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.BackupPanel + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.BackupPanel

+
+
No usage of org.dclermonte.siba.gui.BackupPanel
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/CheckDirectorySelector.html b/javaDoc/org/dclermonte/siba/gui/class-use/CheckDirectorySelector.html new file mode 100644 index 0000000..ea29ee1 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/CheckDirectorySelector.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.CheckDirectorySelector + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.CheckDirectorySelector

+
+
No usage of org.dclermonte.siba.gui.CheckDirectorySelector
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/CheckPanel.html b/javaDoc/org/dclermonte/siba/gui/class-use/CheckPanel.html new file mode 100644 index 0000000..8e3c969 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/CheckPanel.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.CheckPanel + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.CheckPanel

+
+
No usage of org.dclermonte.siba.gui.CheckPanel
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/SibaGUI.html b/javaDoc/org/dclermonte/siba/gui/class-use/SibaGUI.html new file mode 100644 index 0000000..4a897ae --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/SibaGUI.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.SibaGUI + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.SibaGUI

+
+
No usage of org.dclermonte.siba.gui.SibaGUI
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/SourceDirectorySelector.html b/javaDoc/org/dclermonte/siba/gui/class-use/SourceDirectorySelector.html new file mode 100644 index 0000000..d75b51c --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/SourceDirectorySelector.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.SourceDirectorySelector + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.SourceDirectorySelector

+
+
No usage of org.dclermonte.siba.gui.SourceDirectorySelector
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/class-use/TargetDirectorySelector.html b/javaDoc/org/dclermonte/siba/gui/class-use/TargetDirectorySelector.html new file mode 100644 index 0000000..b40f18d --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/class-use/TargetDirectorySelector.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.TargetDirectorySelector + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.TargetDirectorySelector

+
+
No usage of org.dclermonte.siba.gui.TargetDirectorySelector
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/package-frame.html b/javaDoc/org/dclermonte/siba/gui/package-frame.html new file mode 100644 index 0000000..53eecdb --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/package-frame.html @@ -0,0 +1,26 @@ + + + + + +org.dclermonte.siba.gui + + + + + +

org.dclermonte.siba.gui

+
+

Classes

+ +
+ + diff --git a/javaDoc/org/dclermonte/siba/gui/package-summary.html b/javaDoc/org/dclermonte/siba/gui/package-summary.html new file mode 100644 index 0000000..e3aa24c --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/package-summary.html @@ -0,0 +1,174 @@ + + + + + +org.dclermonte.siba.gui + + + + + + + + +
+ + + + + + + +
+ + +
+

Package org.dclermonte.siba.gui

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/package-tree.html b/javaDoc/org/dclermonte/siba/gui/package-tree.html new file mode 100644 index 0000000..b4a3286 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/package-tree.html @@ -0,0 +1,175 @@ + + + + + +org.dclermonte.siba.gui Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package org.dclermonte.siba.gui

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/package-use.html b/javaDoc/org/dclermonte/siba/gui/package-use.html new file mode 100644 index 0000000..880ed07 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package org.dclermonte.siba.gui + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
org.dclermonte.siba.gui

+
+
No usage of org.dclermonte.siba.gui
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/utils/GUIToolBox.html b/javaDoc/org/dclermonte/siba/gui/utils/GUIToolBox.html new file mode 100644 index 0000000..b18ede4 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/utils/GUIToolBox.html @@ -0,0 +1,279 @@ + + + + + +GUIToolBox + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.gui.utils
+

Class GUIToolBox

+
+
+ +
+
    +
  • +
    +
    +
    public class GUIToolBox
    +extends Object
    +
    Some utility
    +
    +
    Author:
    +
    papou
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GUIToolBox

        +
        public GUIToolBox()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        availableLookAndFeels

        +
        public static List<String> availableLookAndFeels()
        +
        +
        Returns:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/utils/class-use/GUIToolBox.html b/javaDoc/org/dclermonte/siba/gui/utils/class-use/GUIToolBox.html new file mode 100644 index 0000000..42091b5 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/utils/class-use/GUIToolBox.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.gui.utils.GUIToolBox + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.gui.utils.GUIToolBox

+
+
No usage of org.dclermonte.siba.gui.utils.GUIToolBox
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/utils/package-frame.html b/javaDoc/org/dclermonte/siba/gui/utils/package-frame.html new file mode 100644 index 0000000..02a68b1 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/utils/package-frame.html @@ -0,0 +1,20 @@ + + + + + +org.dclermonte.siba.gui.utils + + + + + +

org.dclermonte.siba.gui.utils

+
+

Classes

+ +
+ + diff --git a/javaDoc/org/dclermonte/siba/gui/utils/package-summary.html b/javaDoc/org/dclermonte/siba/gui/utils/package-summary.html new file mode 100644 index 0000000..3d37cc6 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/utils/package-summary.html @@ -0,0 +1,144 @@ + + + + + +org.dclermonte.siba.gui.utils + + + + + + + + +
+ + + + + + + +
+ + +
+

Package org.dclermonte.siba.gui.utils

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/utils/package-tree.html b/javaDoc/org/dclermonte/siba/gui/utils/package-tree.html new file mode 100644 index 0000000..d656b66 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/utils/package-tree.html @@ -0,0 +1,137 @@ + + + + + +org.dclermonte.siba.gui.utils Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package org.dclermonte.siba.gui.utils

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/gui/utils/package-use.html b/javaDoc/org/dclermonte/siba/gui/utils/package-use.html new file mode 100644 index 0000000..336bc91 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/gui/utils/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package org.dclermonte.siba.gui.utils + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
org.dclermonte.siba.gui.utils

+
+
No usage of org.dclermonte.siba.gui.utils
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/model/SibaManager.html b/javaDoc/org/dclermonte/siba/model/SibaManager.html new file mode 100644 index 0000000..56efa46 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/model/SibaManager.html @@ -0,0 +1,393 @@ + + + + + +SibaManager + + + + + + + + +
+ + + + + + + +
+ + + +
+
org.dclermonte.siba.model
+

Class SibaManager

+
+
+ +
+
    +
  • +
    +
    +
    public class SibaManager
    +extends Object
    +
    The model class
    +
    +
    Author:
    +
    papou
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/model/class-use/SibaManager.html b/javaDoc/org/dclermonte/siba/model/class-use/SibaManager.html new file mode 100644 index 0000000..fd455e8 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/model/class-use/SibaManager.html @@ -0,0 +1,124 @@ + + + + + +Uses of Class org.dclermonte.siba.model.SibaManager + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
org.dclermonte.siba.model.SibaManager

+
+
No usage of org.dclermonte.siba.model.SibaManager
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/model/package-frame.html b/javaDoc/org/dclermonte/siba/model/package-frame.html new file mode 100644 index 0000000..e80d8e6 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/model/package-frame.html @@ -0,0 +1,20 @@ + + + + + +org.dclermonte.siba.model + + + + + +

org.dclermonte.siba.model

+
+

Classes

+ +
+ + diff --git a/javaDoc/org/dclermonte/siba/model/package-summary.html b/javaDoc/org/dclermonte/siba/model/package-summary.html new file mode 100644 index 0000000..18e78d8 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/model/package-summary.html @@ -0,0 +1,144 @@ + + + + + +org.dclermonte.siba.model + + + + + + + + +
+ + + + + + + +
+ + +
+

Package org.dclermonte.siba.model

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/model/package-tree.html b/javaDoc/org/dclermonte/siba/model/package-tree.html new file mode 100644 index 0000000..80f8657 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/model/package-tree.html @@ -0,0 +1,137 @@ + + + + + +org.dclermonte.siba.model Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package org.dclermonte.siba.model

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/model/package-use.html b/javaDoc/org/dclermonte/siba/model/package-use.html new file mode 100644 index 0000000..fd9561e --- /dev/null +++ b/javaDoc/org/dclermonte/siba/model/package-use.html @@ -0,0 +1,124 @@ + + + + + +Uses of Package org.dclermonte.siba.model + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
org.dclermonte.siba.model

+
+
No usage of org.dclermonte.siba.model
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/package-frame.html b/javaDoc/org/dclermonte/siba/package-frame.html new file mode 100644 index 0000000..66af1da --- /dev/null +++ b/javaDoc/org/dclermonte/siba/package-frame.html @@ -0,0 +1,22 @@ + + + + + +org.dclermonte.siba + + + + + +

org.dclermonte.siba

+
+

Classes

+ +
+ + diff --git a/javaDoc/org/dclermonte/siba/package-summary.html b/javaDoc/org/dclermonte/siba/package-summary.html new file mode 100644 index 0000000..4aa7c57 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/package-summary.html @@ -0,0 +1,154 @@ + + + + + +org.dclermonte.siba + + + + + + + + +
+ + + + + + + +
+ + +
+

Package org.dclermonte.siba

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/package-tree.html b/javaDoc/org/dclermonte/siba/package-tree.html new file mode 100644 index 0000000..7162fb9 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/package-tree.html @@ -0,0 +1,146 @@ + + + + + +org.dclermonte.siba Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package org.dclermonte.siba

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/org/dclermonte/siba/package-use.html b/javaDoc/org/dclermonte/siba/package-use.html new file mode 100644 index 0000000..7a43bd8 --- /dev/null +++ b/javaDoc/org/dclermonte/siba/package-use.html @@ -0,0 +1,202 @@ + + + + + +Uses of Package org.dclermonte.siba + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
org.dclermonte.siba

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/overview-frame.html b/javaDoc/overview-frame.html new file mode 100644 index 0000000..59b40cd --- /dev/null +++ b/javaDoc/overview-frame.html @@ -0,0 +1,25 @@ + + + + + +Overview List + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/javaDoc/overview-summary.html b/javaDoc/overview-summary.html new file mode 100644 index 0000000..9b8f1ab --- /dev/null +++ b/javaDoc/overview-summary.html @@ -0,0 +1,151 @@ + + + + + +Overview + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
org.dclermonte.siba 
org.dclermonte.siba.cli 
org.dclermonte.siba.gui 
org.dclermonte.siba.gui.utils 
org.dclermonte.siba.model 
+
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/overview-tree.html b/javaDoc/overview-tree.html new file mode 100644 index 0000000..61dec97 --- /dev/null +++ b/javaDoc/overview-tree.html @@ -0,0 +1,192 @@ + + + + + +Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/package-list b/javaDoc/package-list new file mode 100644 index 0000000..0f68ecf --- /dev/null +++ b/javaDoc/package-list @@ -0,0 +1,5 @@ +org.dclermonte.siba +org.dclermonte.siba.cli +org.dclermonte.siba.gui +org.dclermonte.siba.gui.utils +org.dclermonte.siba.model diff --git a/javaDoc/script.js b/javaDoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/javaDoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/javaDoc/serialized-form.html b/javaDoc/serialized-form.html new file mode 100644 index 0000000..c4c3531 --- /dev/null +++ b/javaDoc/serialized-form.html @@ -0,0 +1,239 @@ + + + + + +Serialized Form + + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/javaDoc/stylesheet.css b/javaDoc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/javaDoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/src/org/dclermonte/siba/Siba.java b/src/org/dclermonte/siba/Siba.java index f153fe2..534398b 100644 --- a/src/org/dclermonte/siba/Siba.java +++ b/src/org/dclermonte/siba/Siba.java @@ -28,27 +28,29 @@ import org.dclermonte.siba.gui.SibaGUI; public class Siba { + /** + * Siba stand for Simple Backup This is the main class + * + * + * @param args + * @throws ArchiveException + * @throws IOException + * @throws NoSuchAlgorithmException + * @throws SibaNullException + */ - public static void main(final String[] args) - throws ArchiveException, IOException, NoSuchAlgorithmException, SibaNullException + public static void main(final String[] args) throws ArchiveException, IOException, NoSuchAlgorithmException { - try + + if (args.length == 0) { - if (args.length == 0) - { - SibaGUI.run(); - - } - else - { - SibaCLI.run(args); - } + SibaGUI.run(); } - catch (SibaNullException nullException) + else { - System.out.println(nullException.getMessage()); + SibaCLI.run(args); } } diff --git a/src/org/dclermonte/siba/SibaNullException.java b/src/org/dclermonte/siba/SibaNullException.java index db9a51f..9dc0f11 100644 --- a/src/org/dclermonte/siba/SibaNullException.java +++ b/src/org/dclermonte/siba/SibaNullException.java @@ -3,10 +3,10 @@ package org.dclermonte.siba; public class SibaNullException extends SibaException { - /** - * + * */ + private static final long serialVersionUID = 2249962275756375452L; public SibaNullException() diff --git a/src/org/dclermonte/siba/cli/SibaCLI.java b/src/org/dclermonte/siba/cli/SibaCLI.java index 836e261..437b2f9 100644 --- a/src/org/dclermonte/siba/cli/SibaCLI.java +++ b/src/org/dclermonte/siba/cli/SibaCLI.java @@ -39,6 +39,16 @@ public class SibaCLI { private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.cli.messages"); //$NON-NLS-1$ + /** + * + * Call for Backup from CLI + * + * @param directoryToSave + * @param targetDirectory + * @throws ArchiveException + * @throws IOException + * @throws SibaNullException + */ public static void backup(final File directoryToSave, final File targetDirectory) throws ArchiveException, IOException, SibaNullException { @@ -48,6 +58,14 @@ public class SibaCLI return; } + /** + * + * Call for Check from CLI + * + * @param fileToCheck + * @throws NoSuchAlgorithmException + * @throws IOException + */ public static void check(final File fileToCheck) throws NoSuchAlgorithmException, IOException { @@ -67,6 +85,11 @@ public class SibaCLI return; } + /** + * + * The help response + * + */ public static void help() { @@ -79,6 +102,8 @@ public class SibaCLI } /** + * + * Launcher for CLI * * @param args * @throws ArchiveException @@ -86,53 +111,109 @@ public class SibaCLI * @throws NoSuchAlgorithmException * @throws SibaNullException */ - public static void run(final String[] args) - throws ArchiveException, IOException, NoSuchAlgorithmException, SibaNullException + public static void run(final String[] args) throws ArchiveException, IOException, NoSuchAlgorithmException { - // This part implements an automate. - int parameterCount = args.length; - if (parameterCount == 0) + try { - help(); - } - else - { - if ((args[0].equals("-h")) || (args[0].equals("-help")) || (args[0].equals("--help"))) + // This part implements an automate. + int parameterCount = args.length; + if (parameterCount == 0) { help(); } - else if (StringUtils.equals(args[0], "backup")) + else { - if (parameterCount == 1) + if (StringUtils.equals(args[0], "-h") || StringUtils.equals(args[0], "-help") + || StringUtils.equals(args[0], "--help")) { - System.out.println(BUNDLE.getString("missingDirectoryToSave.text")); help(); } - else if (parameterCount == 2) + else if (StringUtils.equals(args[0], "backup")) { - File directoryToSave = new File(args[1]); - if (directoryToSave.exists()) + if (parameterCount == 1) { - backup(directoryToSave, new File(System.getProperty("user.dir"))); + System.out.println(BUNDLE.getString("missingDirectoryToSave.text")); + help(); + } + else if (parameterCount == 2) + { + File directoryToSave = new File(args[1]); + if (directoryToSave.exists()) + { + backup(directoryToSave, new File(System.getProperty("user.dir"))); + } + else + { + System.out.println(BUNDLE.getString("directoryToSaveNotExist.text")); + help(); + } + } + else if (parameterCount == 3) + { + File directoryToSave = new File(args[1]); + File targetDirectory = new File(args[2]); + if (directoryToSave.exists() && targetDirectory.exists()) + { + backup(directoryToSave, targetDirectory); + } + else + { + System.out.println(BUNDLE.getString("directoryNotExist.text")); + help(); + + } } else { - System.out.println(BUNDLE.getString("directoryToSaveNotExist.text")); + System.out.println(BUNDLE.getString("badUsage.text")); help(); } + } - else if (parameterCount == 3) + else if (StringUtils.equals(args[0], "check")) { - File directoryToSave = new File(args[1]); - File targetDirectory = new File(args[2]); - if (directoryToSave.exists() && targetDirectory.exists()) + if (parameterCount == 1) { - backup(directoryToSave, targetDirectory); + System.out.println(BUNDLE.getString("missingFileToCheck.text")); + help(); } else { - System.out.println(BUNDLE.getString("directoryNotExist.text")); - help(); + String fileToCheckName = args[1]; + if (!args[1].endsWith("tgz") && !args[1].endsWith("md5")) + { + fileToCheckName = fileToCheckName.concat(".tgz.md5"); + } + else if (args[1].endsWith("tgz")) + { + fileToCheckName = fileToCheckName.concat(".md5"); + } + else + { + fileToCheckName = args[1]; + } + File fileToCheck = new File(fileToCheckName); + File fileToCheckFinal; + if (!fileToCheck.isAbsolute()) + { + fileToCheckFinal = new File(System.getProperty("user.dir") + "/" + fileToCheckName); + } + else + { + fileToCheckFinal = new File(fileToCheckName); + } + + if (fileToCheckFinal.exists()) + { + + check(fileToCheckFinal); + + } + else + { + System.out.println(BUNDLE.getString("missingFileToCheck.text")); + help(); + } } } @@ -140,63 +221,16 @@ public class SibaCLI { System.out.println(BUNDLE.getString("badUsage.text")); help(); + } } - else if (StringUtils.equals(args[0], "check")) - { - if (parameterCount == 1) - { - System.out.println(BUNDLE.getString("missingFileToCheck.text")); - help(); - } - else - { - String fileToCheckName = args[1]; - if (!args[1].endsWith("tgz") && !args[1].endsWith("md5")) - { - fileToCheckName = fileToCheckName.concat(".tgz.md5"); - } - else if (args[1].endsWith("tgz")) - { - fileToCheckName = fileToCheckName.concat(".md5"); - } - else - { - fileToCheckName = args[1]; - } - File fileToCheck = new File(fileToCheckName); - File fileToCheckFinal; - if (!fileToCheck.isAbsolute()) - { - fileToCheckFinal = new File(System.getProperty("user.dir") + "/" + fileToCheckName); - } - else - { - fileToCheckFinal = new File(fileToCheckName); - } - - if (fileToCheckFinal.exists()) - { - - check(fileToCheckFinal); - - } - else - { - System.out.println(BUNDLE.getString("missingFileToCheck.text")); - help(); - } - - } - } - else - { - System.out.println(BUNDLE.getString("badUsage.text")); - help(); - - } - } + + catch (SibaNullException nullException) + { + System.out.println(nullException.getMessage()); + } + } } diff --git a/src/org/dclermonte/siba/gui/AboutDialog.java b/src/org/dclermonte/siba/gui/AboutDialog.java index 67f4384..b4ad233 100644 --- a/src/org/dclermonte/siba/gui/AboutDialog.java +++ b/src/org/dclermonte/siba/gui/AboutDialog.java @@ -31,6 +31,11 @@ import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.JTextPane; +/** + * + * @author papou + * + */ public class AboutDialog extends JDialog { @@ -39,23 +44,6 @@ public class AboutDialog extends JDialog */ private static final long serialVersionUID = 8868109575782482455L; - /** - * Launch the application. - */ - public static void main(final String string) - { - try - { - AboutDialog dialog = new AboutDialog(); - dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); - dialog.setVisible(true); - } - catch (Exception e) - { - e.printStackTrace(); - } - } - /** * Create the dialog. */ @@ -97,4 +85,21 @@ public class AboutDialog extends JDialog panel.add(txtpnSimpleBackupDveloppeur); } + /** + * Launch the application. + */ + public static void main(final String string) + { + try + { + AboutDialog dialog = new AboutDialog(); + dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); + dialog.setVisible(true); + } + catch (Exception e) + { + e.printStackTrace(); + } + } + } diff --git a/src/org/dclermonte/siba/gui/BackupPanel.java b/src/org/dclermonte/siba/gui/BackupPanel.java index e579963..131fb5f 100644 --- a/src/org/dclermonte/siba/gui/BackupPanel.java +++ b/src/org/dclermonte/siba/gui/BackupPanel.java @@ -46,6 +46,13 @@ import com.jgoodies.forms.layout.FormLayout; import com.jgoodies.forms.layout.FormSpecs; import com.jgoodies.forms.layout.RowSpec; +/** + * + * panel for backup + * + * @author papou + * + */ public class BackupPanel extends JPanel { /** diff --git a/src/org/dclermonte/siba/gui/CheckDirectorySelector.java b/src/org/dclermonte/siba/gui/CheckDirectorySelector.java index ec4b801..864e877 100644 --- a/src/org/dclermonte/siba/gui/CheckDirectorySelector.java +++ b/src/org/dclermonte/siba/gui/CheckDirectorySelector.java @@ -10,6 +10,11 @@ import javax.swing.filechooser.FileNameExtensionFilter; import org.apache.commons.lang3.StringUtils; +/** + * + * * @author Christian Pierre MOMON (christian.momon@devinsy.fr) + * + */ public class CheckDirectorySelector extends JFileChooser /** @@ -20,36 +25,6 @@ public class CheckDirectorySelector extends JFileChooser private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.gui.messages"); //$NON-NLS-1$ private static final long serialVersionUID = 3782597353602048214L; - /** - * This method is the main one of the selector. - * - * @param parent - * @return - */ - public static File showSelectorDialog(final Component parent, final File targetFile) - { - File result; - - // - CheckDirectorySelector selector = new CheckDirectorySelector(targetFile); - - // - if (selector.showDialog(parent, null) == JFileChooser.APPROVE_OPTION) - { - // - result = selector.getSelectedFile(); - - } - else - { - // - result = null; - } - - // - return result; - } - /** * */ @@ -135,4 +110,34 @@ public class CheckDirectorySelector extends JFileChooser resetChoosableFileFilters(); } } + + /** + * This method is the main one of the selector. + * + * @param parent + * @return + */ + public static File showSelectorDialog(final Component parent, final File targetFile) + { + File result; + + // + CheckDirectorySelector selector = new CheckDirectorySelector(targetFile); + + // + if (selector.showDialog(parent, null) == JFileChooser.APPROVE_OPTION) + { + // + result = selector.getSelectedFile(); + + } + else + { + // + result = null; + } + + // + return result; + } } \ No newline at end of file diff --git a/src/org/dclermonte/siba/gui/CheckPanel.java b/src/org/dclermonte/siba/gui/CheckPanel.java index fded5bc..59f3276 100644 --- a/src/org/dclermonte/siba/gui/CheckPanel.java +++ b/src/org/dclermonte/siba/gui/CheckPanel.java @@ -42,7 +42,8 @@ import com.jgoodies.forms.layout.RowSpec; import com.jgoodies.forms.layout.Sizes; /** - * + * The panel for Check + * * @author papa */ public class CheckPanel extends JPanel diff --git a/src/org/dclermonte/siba/gui/SibaGUI.java b/src/org/dclermonte/siba/gui/SibaGUI.java index b5ca905..d8ee1b3 100644 --- a/src/org/dclermonte/siba/gui/SibaGUI.java +++ b/src/org/dclermonte/siba/gui/SibaGUI.java @@ -44,8 +44,15 @@ import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import org.apache.commons.lang3.StringUtils; +import org.dclermonte.siba.SibaNullException; import org.dclermonte.siba.gui.utils.GUIToolBox; +/** + * The main class for GUI (Graphical User Interface ) + * + * @author papou + * + */ public class SibaGUI { private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("org.dclermonte.siba.gui.messages"); //$NON-NLS-1$ @@ -66,7 +73,7 @@ public class SibaGUI * @throws ClassNotFoundException */ public SibaGUI() throws ClassNotFoundException, InstantiationException, IllegalAccessException, - UnsupportedLookAndFeelException + UnsupportedLookAndFeelException, SibaNullException { // Set default GUI catch. Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() @@ -227,6 +234,9 @@ public class SibaGUI ResourceBundle.clearCache(); } + /** + * Launcher for GUI + */ public static void run() { EventQueue.invokeLater(new Runnable() @@ -239,6 +249,12 @@ public class SibaGUI SibaGUI window = new SibaGUI(); window.frmSimpleBackup.setVisible(true); } + catch (SibaNullException nullException) + { + String dataMissing = BUNDLE.getString("BackupPanel.dataMissing.text"); + String titleWarning = BUNDLE.getString("BackupPanel.TitleWarning.text"); + JOptionPane.showMessageDialog(null, dataMissing, titleWarning, JOptionPane.INFORMATION_MESSAGE); + } catch (Exception e) { e.printStackTrace(); diff --git a/src/org/dclermonte/siba/gui/utils/GUIToolBox.java b/src/org/dclermonte/siba/gui/utils/GUIToolBox.java index 1e8d71a..7ab1cfa 100644 --- a/src/org/dclermonte/siba/gui/utils/GUIToolBox.java +++ b/src/org/dclermonte/siba/gui/utils/GUIToolBox.java @@ -5,6 +5,12 @@ import java.util.List; import javax.swing.UIManager; +/** + * Some utility + * + * @author papou + * + */ public class GUIToolBox { diff --git a/src/org/dclermonte/siba/model/SibaManager.java b/src/org/dclermonte/siba/model/SibaManager.java index c690a28..b044d75 100644 --- a/src/org/dclermonte/siba/model/SibaManager.java +++ b/src/org/dclermonte/siba/model/SibaManager.java @@ -37,11 +37,28 @@ import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream; import org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream; import org.apache.commons.compress.utils.IOUtils; +import org.apache.commons.lang3.StringUtils; import org.dclermonte.siba.SibaNullException; +/** + * The model class + * + * @author papou + * + */ + public class SibaManager { - + /** + * perform the backup + * + * @param fileToSave + * @param target + * @return + * @throws ArchiveException + * @throws IOException + * @throws SibaNullException + */ public static File backup(final File fileToSave, final File target) throws ArchiveException, IOException, SibaNullException { @@ -63,11 +80,19 @@ public class SibaManager TarArchiveOutputStream out = new TarArchiveOutputStream(gzipOutputStream); directoryToSave(fileToSave, out, pathLength); out.close(); - md5(result, target + "/" + outputFileNameWithoutExtension + ".tgz.md5"); + fileMD5(result, target + "/" + outputFileNameWithoutExtension + ".tgz.md5"); return result; } + /** + * To check the file + * + * @param choosenFile + * @return + * @throws IOException + * @throws NoSuchAlgorithmException + */ public static boolean check(final File choosenFile) throws IOException, NoSuchAlgorithmException { boolean result; @@ -92,32 +117,8 @@ public class SibaManager fileReader.close(); File fileToCheck1 = new File(choosenFile.getParent() + "/" + fileNameToString); - byte[] bytedirectoryToSave = new byte[(int) fileToCheck1.length()]; - FileInputStream fileInputStream = new FileInputStream(fileToCheck1); - for (int index1 = 0; index1 < (fileToCheck1.length()); index1++) - { - bytedirectoryToSave[index1] = (byte) fileInputStream.read(); - } - fileInputStream.close(); - byte[] hash = null; - StringBuilder hashString = new StringBuilder(); - MessageDigest messageDigest = MessageDigest.getInstance("MD5"); - hash = messageDigest.digest(bytedirectoryToSave); - for (int index = 0; index < hash.length; index++) - { - String hex = Integer.toHexString(hash[index]); - if (hex.length() == 1) - { - hashString.append('0'); - hashString.append(hex.charAt(hex.length() - 1)); - } - else - { - hashString.append(hex.substring(hex.length() - 2)); - } - } - if (md5String.equals(hashString.toString())) + if (StringUtils.equals(md5String, md5(fileToCheck1))) { result = true; } @@ -164,24 +165,54 @@ public class SibaManager } - public static File md5(final File directoryToSave, final String destination) throws IOException + /** + * + * Generate the file with MD5 + * + * @param directoryToSave + * @param destination + * @return + * @throws IOException + */ + public static File fileMD5(final File directoryToSave, final String destination) throws IOException { File result; result = new File(destination); + + FileWriter fileWriter = new FileWriter(result); + fileWriter.write(md5(directoryToSave)); + String newLine = System.getProperty("line.separator"); + fileWriter.append(" " + directoryToSave.getName() + newLine); + fileWriter.close(); + + return result; + } + + /** + * Calculate the MD5 itself + * + * @param input + * @return + * @throws IOException + */ + public static String md5(final File input) throws IOException + { + String result; + StringBuilder hashString = new StringBuilder(); try { - byte[] bytedirectoryToSave = new byte[(int) directoryToSave.length()]; - FileInputStream fileInputStream = new FileInputStream(directoryToSave); - for (int index1 = 0; index1 < directoryToSave.length(); index1++) + byte[] byteInput = new byte[(int) input.length()]; + FileInputStream fileInputStream = new FileInputStream(input); + for (int index1 = 0; index1 < input.length(); index1++) { - bytedirectoryToSave[index1] = (byte) fileInputStream.read(); + byteInput[index1] = (byte) fileInputStream.read(); } byte[] hash = null; MessageDigest messageDigest = MessageDigest.getInstance("MD5"); - hash = messageDigest.digest(bytedirectoryToSave); - StringBuilder hashString = new StringBuilder(); + hash = messageDigest.digest(byteInput); + for (int index = 0; index < hash.length; index++) { String hex = Integer.toHexString(hash[index]); @@ -195,11 +226,6 @@ public class SibaManager hashString.append(hex.substring(hex.length() - 2)); } } - FileWriter fileWriter = new FileWriter(result); - fileWriter.write(hashString.toString()); - String newLine = System.getProperty("line.separator"); - fileWriter.append(" " + directoryToSave.getName() + newLine); - fileWriter.close(); fileInputStream.close(); } catch (NoSuchAlgorithmException e) @@ -207,7 +233,7 @@ public class SibaManager // TODO Auto-generated catch block e.printStackTrace(); } - + result = hashString.toString(); return result; } diff --git a/test/org/dclermonte/siba/model/SibaManagerTest.java b/test/org/dclermonte/siba/model/SibaManagerTest.java index 7fcc67b..e754c9e 100644 --- a/test/org/dclermonte/siba/model/SibaManagerTest.java +++ b/test/org/dclermonte/siba/model/SibaManagerTest.java @@ -45,12 +45,14 @@ public class SibaManagerTest @Test public void backupTest02() throws ArchiveException, IOException, SibaNullException { - String md5LineSource = "qslfjqmlsfjmqlsjfqmlsjfsjf mqlsfjmljdf"; - File target = SibaManager.backup(new File("../data/simplestuff"), new File("/home/papou/tmp")); + File source = new File("test/org/dclermonte/siba/data/simplestuff"); + File target = SibaManager.backup(source, new File("test/org/dclermonte/siba/data/result")); System.out.println(target.getName()); // Load md5 file. String encoding = null; String md5LineTarget = FileUtils.readFileToString(target, encoding); + File reference = new File("test/org/dclermonte/siba/data/reference/simplestuff-2016-05-18T22h57mn57s.tgz"); + String md5LineSource = FileUtils.readFileToString(reference, encoding); // Test. Assert.assertEquals(md5LineSource, md5LineTarget);