java.lang.Object
net.i2p.installer.Copy

public class Copyextends Object

This class is used by the installer to copy files.

Usage: Copy [FROM] [TO]. See also: FileUtil.copy().
  • Constructor Details

    • Copy

      public Copy()
      Constructor. The copy is performed by the static main(), so an instance carries no state and nothing here is configured.
  • Method Details

    • main

      public static void main(String[] args)
      Copy the file named by the first argument to the second.
      Parameters:
      args - [from] [to]: the source file then the destination, both required