public static class FunctionalGroupUtilities.Selector
extends java.lang.Object
A class to select which functional groups are copied or propagated or removed or not during operations on functional groups.
Modifier and Type | Field and Description |
---|---|
boolean |
framecontent |
boolean |
spatial |
boolean |
unclassified |
Constructor and Description |
---|
Selector(boolean allSelected)
Construct a selector with all functional groups selected or not selected.
|
Selector(java.lang.String[] arg,
java.util.ArrayList<java.lang.String> remainder)
Construct a selector with only functional groups named in arguments selected.
|
Modifier and Type | Method and Description |
---|---|
void |
setAll(boolean setting)
Set all selectors to the specified setting.
|
public boolean framecontent
public boolean spatial
public boolean unclassified
public Selector(boolean allSelected)
Construct a selector with all functional groups selected or not selected.
allSelected
- true if all functional groups are selected rather than not selected on constructionpublic Selector(java.lang.String[] arg, java.util.ArrayList<java.lang.String> remainder)
Construct a selector with only functional groups named in arguments selected.
Used to decode selectors from command line arguments.
Strings recognized are -all|-spatial|-framecontent|-unclassified.
arg
- command line argumentsremainder
- empty list to add remaining command line arguments after anything used was removed