Package gov.nasa.jpl.input
Class StringParsingUtilities
java.lang.Object
gov.nasa.jpl.input.StringParsingUtilities
-
Method Summary
Modifier and TypeMethodDescriptionparseActivityTypeStringByInstance
(String inputString) parses an activity type list string into a list of activity types an input string of "NONE" or "ALL" may be provided to get a list of none or all of the activity instances of those types respectivelyparseActivityTypeStringByType
(String inputString) parses an activity type list string into a list of activity types an input string of "NONE" or "ALL" may be provided to get a list of none or all of the activity type names respectivelyparseConstraintTypeString
(String inputString) parseResourceNameString
(String inputString) parses a resource name list string into a list of resource names an input string of "NONE" or "ALL" may be provided to get a list of none or all of the resources respectivelystatic String[]
splitParamStringByChar
(String inputString, char splitChar) Splits a string by commas, but only when outside of double quote, [], {} or <> pairs.splitStringByWhitespace
(String inputString) Splits a string of activity types by spaces
-
Method Details
-
splitParamStringByChar
Splits a string by commas, but only when outside of double quote, [], {} or <> pairs. -
parseActivityTypeStringByInstance
parses an activity type list string into a list of activity types an input string of "NONE" or "ALL" may be provided to get a list of none or all of the activity instances of those types respectively -
parseActivityTypeStringByType
parses an activity type list string into a list of activity types an input string of "NONE" or "ALL" may be provided to get a list of none or all of the activity type names respectively -
parseResourceNameString
parses a resource name list string into a list of resource names an input string of "NONE" or "ALL" may be provided to get a list of none or all of the resources respectively -
parseConstraintTypeString
-
splitStringByWhitespace
Splits a string of activity types by spaces
-