com.veromodo.tempo.util
Interface OptionMap

All Known Implementing Classes:
CommandLineOptions

public interface OptionMap


Method Summary
 void addFile(java.lang.String fileName)
           
 void addOption(java.lang.String option)
           
 void addPrintStream(java.lang.String option, java.io.PrintStream value)
           
 void addUsage(java.util.Collection<java.lang.String> opts)
           
 void addValue(java.lang.String option, java.lang.String value)
           
 boolean getBooleanFor(java.lang.String key)
          true if the argument key was present in the command-line
 java.util.Vector<java.lang.String> getFiles()
           
 int getIntFor(java.lang.String key)
          the value given in the command-line arguments for key
 java.util.Vector<java.net.URL> getPluginURLs()
           
 java.io.PrintStream getPrintStreamFor(java.lang.String key)
           
 java.lang.String getStringFor(java.lang.String key)
           
 java.lang.String getUsage()
           
 boolean hasPluginURL()
           
 boolean hasValueFor(java.lang.String key)
           
 

Method Detail

addFile

void addFile(java.lang.String fileName)

addOption

void addOption(java.lang.String option)

addValue

void addValue(java.lang.String option,
              java.lang.String value)

addPrintStream

void addPrintStream(java.lang.String option,
                    java.io.PrintStream value)

getBooleanFor

boolean getBooleanFor(java.lang.String key)
true if the argument key was present in the command-line


hasValueFor

boolean hasValueFor(java.lang.String key)

hasPluginURL

boolean hasPluginURL()

getIntFor

int getIntFor(java.lang.String key)
the value given in the command-line arguments for key


getStringFor

java.lang.String getStringFor(java.lang.String key)

getPrintStreamFor

java.io.PrintStream getPrintStreamFor(java.lang.String key)

getFiles

java.util.Vector<java.lang.String> getFiles()

getPluginURLs

java.util.Vector<java.net.URL> getPluginURLs()

addUsage

void addUsage(java.util.Collection<java.lang.String> opts)

getUsage

java.lang.String getUsage()