public class FilterCommand extends Object implements Command
global, missingFileError
Constructor and Description |
---|
FilterCommand()
Initialize the command.
|
Modifier and Type | Method and Description |
---|---|
CommandState |
execute(CommandState state,
String[] args)
Given an input state and command line arguments, filter axioms from its ontology, modifying it,
and return a state with the modified ontology.
|
String |
getDescription()
Brief description of the command.
|
String |
getName()
Name of the command.
|
org.apache.commons.cli.Options |
getOptions()
Command-line options for the command.
|
String |
getUsage()
Command-line usage for the command.
|
void |
main(String[] args)
Handle the command-line and file operations.
|
public String getName()
public String getDescription()
getDescription
in interface Command
public String getUsage()
public org.apache.commons.cli.Options getOptions()
getOptions
in interface Command
public void main(String[] args)
public CommandState execute(CommandState state, String[] args) throws Exception
Copyright © 2015–2019. All rights reserved.