Package dw.cli.commands
Class PagePutter
- java.lang.Object
-
- dw.cli.Command
-
- dw.cli.commands.PagePutter
-
public class PagePutter extends Command
-
-
Constructor Summary
Constructors Constructor Description PagePutter()
PagePutter(boolean appendInsteadOfPut)
PagePutter(boolean appendInsteadOfPut, StdinReader stdinReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
registerParameters(com.martiansoftware.jsap.JSAP jsap)
protected Output
run(DokuJClient dokuClient)
-
Methods inherited from class dw.cli.Command
addLongFormatSwitch, addPageIdOption, getUsage, parseArguments, run
-
-
-
-
Constructor Detail
-
PagePutter
public PagePutter()
-
PagePutter
public PagePutter(boolean appendInsteadOfPut)
-
PagePutter
public PagePutter(boolean appendInsteadOfPut, StdinReader stdinReader)
-
-
Method Detail
-
registerParameters
protected void registerParameters(com.martiansoftware.jsap.JSAP jsap) throws com.martiansoftware.jsap.JSAPException
- Specified by:
registerParameters
in classCommand
- Throws:
com.martiansoftware.jsap.JSAPException
-
run
protected Output run(DokuJClient dokuClient) throws DokuException
- Specified by:
run
in classCommand
- Throws:
DokuException
-
-