diff --git a/installer/java/src/net/i2p/installer/Copy.java b/installer/java/src/net/i2p/installer/Copy.java index 49fa2c6d6..500db1dee 100644 --- a/installer/java/src/net/i2p/installer/Copy.java +++ b/installer/java/src/net/i2p/installer/Copy.java @@ -3,9 +3,11 @@ package net.i2p.installer; import net.i2p.util.FileUtil; /** - * Usage: Copy from to + *

This class is used by the installer to copy files.

+ * Usage: Copy [FROM] [TO]
* - * only for use by installer + * See also: {@link net.i2p.util.FileUtil#copy FileUtil.copy()}. + * @since 0.4.1.4, moved to {@link net.i2p.installer} in 0.9.5 */ public class Copy { public static void main(String args[]) { diff --git a/installer/java/src/net/i2p/installer/Delete.java b/installer/java/src/net/i2p/installer/Delete.java index afc9f78a9..01498300f 100644 --- a/installer/java/src/net/i2p/installer/Delete.java +++ b/installer/java/src/net/i2p/installer/Delete.java @@ -3,10 +3,13 @@ package net.i2p.installer; import net.i2p.util.FileUtil; /** - * Usage: Delete name + *

This class is used by the installer to delete one or more specified files.

+ * Usage: Delete FILE ...
* - * only for use by installer + * See also: {@link net.i2p.util.FileUtil#rmdir FileUtil.rmdir()}. + * @since 0.4.1.4, moved to {@link net.i2p.installer} in 0.9.5 */ + public class Delete { public static void main(String args[]) { for(int file=0; file < args.length; file++) diff --git a/installer/java/src/net/i2p/installer/Exec.java b/installer/java/src/net/i2p/installer/Exec.java index 83d9accce..b8488ceff 100644 --- a/installer/java/src/net/i2p/installer/Exec.java +++ b/installer/java/src/net/i2p/installer/Exec.java @@ -3,9 +3,11 @@ package net.i2p.installer; import java.io.File; /** - * Usage: Exec dir command [args ...] + *

This class can be used by the installer to execute shell commands.

+ * Usage: Exec dir command [args ...]
* - * only for use by installer + * See also {@link net.i2p.util.ShellCommand}. + * @since 0.4.1.4, moved to {@link net.i2p.installer} in 0.9.5 */ public class Exec { public static void main(String args[]) { @@ -17,8 +19,8 @@ public class Exec { // ugly hack, because it seems we'll block otherwise! // http://cephas.net/blog/2004/03/23/external_applications_javas_runtimeexec.html try { proc.exitValue(); } catch (Throwable t) { } - Runtime.getRuntime().halt(0); - + Runtime.getRuntime().halt(0); + } catch (Exception e) { e.printStackTrace(); } diff --git a/installer/java/src/net/i2p/installer/FixWinPaths.java b/installer/java/src/net/i2p/installer/FixWinPaths.java index 4b32eaa0f..5894eb934 100644 --- a/installer/java/src/net/i2p/installer/FixWinPaths.java +++ b/installer/java/src/net/i2p/installer/FixWinPaths.java @@ -12,9 +12,14 @@ import java.io.PrintStream; /** - * Usage: FixWinPaths WrapperConfigFile - * - * only for use by installer + *

This class is used by the installer in Windows to process the wrapper.config file. It + *

+ *

+ * Usage: FixWinPaths [WrapperConfigFile] + * @since 0.9.5 */ public class FixWinPaths{ public static void main(String args[]) { diff --git a/installer/java/src/net/i2p/installer/package.html b/installer/java/src/net/i2p/installer/package.html new file mode 100644 index 000000000..f1e5911ad --- /dev/null +++ b/installer/java/src/net/i2p/installer/package.html @@ -0,0 +1,5 @@ + +

+These classes make up the "Helper Utilities" that are used by the installer. +

+