Public Member Functions | Static Public Member Functions

alma.acs.logging.dialogs.main.CommandLineParser Class Reference

List of all members.

Public Member Functions

 CommandLineParser (String[] args) throws Exception
boolean getHelp ()
boolean isUnlimited ()
boolean isDoNotConnect ()
String getFilterFileName ()
String getEngineFilterFileName ()
LogTypeHelper getDiscardLevel ()
String getFileToLoad ()
AudienceInfo getAudience ()

Static Public Member Functions

static void printUsage (String errorMsg)

Detailed Description

A class to parse the command line.

Author:
acaproni
Since:
ACS 8.1.0

Constructor & Destructor Documentation

alma.acs.logging.dialogs.main.CommandLineParser.CommandLineParser ( String[]  args  )  throws Exception

Constructor.

Parameters:
args The command line parameters
Exceptions:
Exception In case of error parsing the command line

Member Function Documentation

AudienceInfo alma.acs.logging.dialogs.main.CommandLineParser.getAudience (  ) 
LogTypeHelper alma.acs.logging.dialogs.main.CommandLineParser.getDiscardLevel (  ) 
String alma.acs.logging.dialogs.main.CommandLineParser.getEngineFilterFileName (  ) 
String alma.acs.logging.dialogs.main.CommandLineParser.getFileToLoad (  ) 
String alma.acs.logging.dialogs.main.CommandLineParser.getFilterFileName (  ) 
boolean alma.acs.logging.dialogs.main.CommandLineParser.getHelp (  ) 
boolean alma.acs.logging.dialogs.main.CommandLineParser.isDoNotConnect (  ) 
boolean alma.acs.logging.dialogs.main.CommandLineParser.isUnlimited (  ) 
static void alma.acs.logging.dialogs.main.CommandLineParser.printUsage ( String  errorMsg  )  [static]

Print the standard usage message if the parameters in the command line are wrong.

Parameters:
errorMsg An optional error message to print

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties