Package com.igormaznitsa.jcp.cmdline
Class ExcludedFileExtensionsHandler
- java.lang.Object
-
- com.igormaznitsa.jcp.cmdline.ExcludedFileExtensionsHandler
-
- All Implemented Interfaces:
CommandLineHandler
public class ExcludedFileExtensionsHandler extends java.lang.Object implements CommandLineHandler
The handler for the excluded extension list (with comma)
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringARG_NAME
-
Constructor Summary
Constructors Constructor Description ExcludedFileExtensionsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the description of the key (it will be printed into the help text)java.lang.StringgetKeyName()Get the key name for the handlerbooleanprocessCommandLineKey(java.lang.String key, PreprocessorContext context)Process a command line key
-
-
-
Field Detail
-
ARG_NAME
private static final java.lang.String ARG_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:CommandLineHandlerGet the description of the key (it will be printed into the help text)- Specified by:
getDescriptionin interfaceCommandLineHandler- Returns:
- the description as a String
-
processCommandLineKey
public boolean processCommandLineKey(java.lang.String key, PreprocessorContext context)Description copied from interface:CommandLineHandlerProcess a command line key- Specified by:
processCommandLineKeyin interfaceCommandLineHandler- Parameters:
key- the command line key to be processed, must not be nullcontext- the preprocessor context, must not be null- Returns:
- true if the key has been recognized and processed else false
-
getKeyName
public java.lang.String getKeyName()
Description copied from interface:CommandLineHandlerGet the key name for the handler- Specified by:
getKeyNamein interfaceCommandLineHandler- Returns:
- the key name as a String, must not be null
-
-