added doc

This commit is contained in:
Didier Clermonté 2016-08-18 12:35:08 +02:00
parent 8d322f8019
commit 9765c9495e
4 changed files with 16 additions and 2 deletions

View File

@ -45,6 +45,13 @@ public final class SibaCLI
} }
/**
*
* @param directoryToSave
* the name of the directory to save
* @throws SibaException
* exception file not found
*/
public static void backup(final File directoryToSave) throws SibaException public static void backup(final File directoryToSave) throws SibaException
{ {
File result; File result;

View File

@ -120,7 +120,7 @@ public class AboutDialog extends JDialog
{ {
resource = "/org/dclermonte/siba/gui/about_en.html"; resource = "/org/dclermonte/siba/gui/about_en.html";
} }
txtpnSimpleBackupDveloppeur.setText(SibaUtils.readResource(resource)); txtpnSimpleBackupDveloppeur.setText(SibaUtils.readResourceFromJar(resource));
panel.add(txtpnSimpleBackupDveloppeur); panel.add(txtpnSimpleBackupDveloppeur);
{ {
JLabel lblNewLabel = new JLabel(""); JLabel lblNewLabel = new JLabel("");

View File

@ -32,11 +32,18 @@ import javax.swing.UIManager;
*/ */
public final class GUIToolBox public final class GUIToolBox
{ {
/**
*
*/
private GUIToolBox() private GUIToolBox()
{ {
} }
/**
*
* @return string with lookAndFeel
*/
public static List<String> availableLookAndFeels() public static List<String> availableLookAndFeels()
{ {
List<String> result; List<String> result;

View File

@ -255,7 +255,7 @@ public final class SibaUtils
* @throws IOException * @throws IOException
* IOException * IOException
*/ */
public static String readResource(final String resource) throws IOException public static String readResourceFromJar(final String resource) throws IOException
{ {
String result; String result;