Package be.panako.cli
Class Print
java.lang.Object
be.panako.cli.Application
be.panako.cli.Print
public class Print extends Application
Query the storage for audio fragments.
- Author:
- Joren Six
-
Constructor Summary
Constructors Constructor Description Print()
-
Method Summary
Modifier and Type Method Description java.lang.String
description()
boolean
needsStorage()
void
run(java.lang.String... args)
java.lang.String
synopsis()
The synopsis is a short description of the required or optional arguments.boolean
writesToStorage()
Methods inherited from class be.panako.cli.Application
availableProcessors, getFilesFromArguments, name, printHelp
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Print
public Print()
-
-
Method Details
-
run
public void run(java.lang.String... args)- Specified by:
run
in classApplication
- Parameters:
args
- The arguments to start the program.
-
description
public java.lang.String description()- Specified by:
description
in classApplication
- Returns:
- The description of the application. What does it do?
-
synopsis
public java.lang.String synopsis()Description copied from class:Application
The synopsis is a short description of the required or optional arguments.- Specified by:
synopsis
in classApplication
- Returns:
- The command line synopsis.
-
needsStorage
public boolean needsStorage()- Specified by:
needsStorage
in classApplication
- Returns:
- True if this application needs the storage, false otherwise.
-
writesToStorage
public boolean writesToStorage()- Specified by:
writesToStorage
in classApplication
- Returns:
- true if this application writes to storage.
-