Package dw.cli.commands
Class AttachmentReader
- java.lang.Object
-
- dw.cli.Command
-
- dw.cli.commands.ItemListToStringCommand<AttachmentDetails>
-
- dw.cli.commands.AttachmentReader
-
public class AttachmentReader extends ItemListToStringCommand<AttachmentDetails>
-
-
Constructor Summary
Constructors Constructor Description AttachmentReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
itemToString(AttachmentDetails attachmentsDetails)
protected java.util.List<AttachmentDetails>
query(DokuJClient dokuClient)
protected void
registerParameters(com.martiansoftware.jsap.JSAP jsap)
-
Methods inherited from class dw.cli.commands.ItemListToStringCommand
run
-
Methods inherited from class dw.cli.Command
addLongFormatSwitch, addPageIdOption, getUsage, parseArguments, run
-
-
-
-
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
-
query
protected java.util.List<AttachmentDetails> query(DokuJClient dokuClient) throws DokuException
- Specified by:
query
in classItemListToStringCommand<AttachmentDetails>
- Throws:
DokuException
-
itemToString
protected java.lang.String itemToString(AttachmentDetails attachmentsDetails)
- Specified by:
itemToString
in classItemListToStringCommand<AttachmentDetails>
-
-