Package be.panako.cli

Class Query

java.lang.Object
be.panako.cli.Application
be.panako.cli.Query

public class Query
extends Application
Query the storage for audio fragments.
Author:
Joren Six
  • Constructor Summary

    Constructors
    Constructor Description
    Query()  
  • 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

    • Query

      public Query()
  • Method Details

    • run

      public void run​(java.lang.String... args)
      Specified by:
      run in class Application
      Parameters:
      args - The arguments to start the program.
    • description

      public java.lang.String description()
      Specified by:
      description in class Application
      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 class Application
      Returns:
      The command line synopsis.
    • needsStorage

      public boolean needsStorage()
      Specified by:
      needsStorage in class Application
      Returns:
      True if this application needs the storage, false otherwise.
    • writesToStorage

      public boolean writesToStorage()
      Specified by:
      writesToStorage in class Application
      Returns:
      true if this application writes to storage.