Changeset a40566e for installer/java


Ignore:
Timestamp:
Dec 30, 2012 12:36:14 AM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
44498ca8
Parents:
77f0dd6
Message:

improve installer javadocs; add minimalist package.html

Location:
installer/java/src/net/i2p/installer
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • installer/java/src/net/i2p/installer/Copy.java

    r77f0dd6 ra40566e  
    44
    55/**
    6  * Usage: Copy from to
     6 * <p>This class is used by the installer to copy files.</p>
     7 * Usage: <code>Copy [FROM] [TO]</code><br>
    78 *
    8  * only for use by installer
     9 * See also: {@link net.i2p.util.FileUtil#copy FileUtil.copy()}.
     10 * @since 0.4.1.4, moved to {@link net.i2p.installer} in 0.9.5
    911 */
    1012public class Copy {
  • installer/java/src/net/i2p/installer/Delete.java

    r77f0dd6 ra40566e  
    44
    55/**
    6  * Usage: Delete name
     6 * <p>This class is used by the installer to delete one or more specified files.</p>
     7 * Usage: <code>Delete <u>FILE</u> ...</code><br>
    78 *
    8  * only for use by installer
     9 * See also: {@link net.i2p.util.FileUtil#rmdir FileUtil.rmdir()}.
     10 * @since 0.4.1.4, moved to {@link net.i2p.installer} in 0.9.5
    911 */
     12
    1013public class Delete {
    1114    public static void main(String args[]) {
  • installer/java/src/net/i2p/installer/Exec.java

    r77f0dd6 ra40566e  
    44
    55/**
    6  * Usage: Exec dir command [args ...]
     6 * <p>This class can be used by the installer to execute shell commands.</p>
     7 * Usage: <code>Exec dir command [args ...]</code><br>
    78 *
    8  * only for use by installer
     9 * See also {@link net.i2p.util.ShellCommand}.
     10 * @since 0.4.1.4, moved to {@link net.i2p.installer} in 0.9.5
    911 */
    1012public class Exec {
     
    1820            // http://cephas.net/blog/2004/03/23/external_applications_javas_runtimeexec.html
    1921            try { proc.exitValue(); } catch (Throwable t) { }
    20             Runtime.getRuntime().halt(0);
    21            
     22            Runtime.getRuntime().halt(0);
     23
    2224        } catch (Exception e) {
    2325            e.printStackTrace();
  • installer/java/src/net/i2p/installer/FixWinPaths.java

    r77f0dd6 ra40566e  
    1313
    1414/**
    15  * Usage: FixWinPaths WrapperConfigFile
    16  *
    17  * only for use by installer
     15 * <p>This class is used by the installer in Windows to process the <code>wrapper.config</code> file. It
     16 * <ul>
     17 * <li>rewrites the applicable wrapper config options to point to <code>%APPDATA%\I2P</code></li>
     18 * <li>corrects the paths, rewriting <code>/</code> to <code>\</code></li>
     19 * </ul>
     20 * </p>
     21 * Usage: <code>FixWinPaths [WrapperConfigFile]</code>
     22 * @since 0.9.5
    1823 */
    1924public class FixWinPaths{
Note: See TracChangeset for help on using the changeset viewer.