shell.app
Class cp
java.lang.Object
|
+--shell.Command
|
+--shell.ShellCommand
|
+--shell.app.cp
- All Implemented Interfaces:
- Executable, java.lang.Runnable, ShellExecutable
- public class cp
- extends ShellCommand
- implements ShellExecutable
Methods inherited from class shell.Command |
addActiveSwitch, addSwitch, addThreadListener, containsSwitch, equals, equals, getActive, getId, getLock, getName, getOutStream, getReader, getSwitch, isPipeable, lock, processSwitches, removeThreadListener, run, setActive, setArgs, setArgs, setId, setIncomming, setInputStream, setLock, setOutputStream, setOutStream, stillIncomming, unlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface shell.Executable |
addActiveSwitch, addSwitch, addThreadListener, containsSwitch, equals, equals, getActive, getId, getName, getOutStream, getReader, getSwitch, isPipeable, lock, processSwitches, removeThreadListener, run, setActive, setArgs, setArgs, setId, setIncomming, setInputStream, setLock, setOutputStream, setOutStream, stillIncomming, unlock |
cp
public cp()
setArgs
public void setArgs(java.util.Vector args,
ProcessController pc)
setArgs
public void setArgs(java.util.Vector args,
ProcessController pc,
java.io.PrintStream o)
doRun
public void doRun()
- Specified by:
doRun
in class Command
copy
public void copy(java.io.File source,
java.io.File destination)
throws java.io.IOException
java.io.IOException
recursiveCopy
public void recursiveCopy(java.io.File subdir,
java.io.File dest)
throws java.io.IOException
java.io.IOException
copyFile
public void copyFile(java.io.File src,
java.io.File dest)
throws java.io.IOException
java.io.IOException