public interface ParseService extends SciJavaService
Modifier and Type | Method and Description |
---|---|
default Items |
parse(String arg)
Parses a comma-delimited list of data elements.
|
Items |
parse(String arg,
boolean strict)
Parses a comma-delimited list of data elements.
|
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
default Items parse(String arg)
Some data elements might be key=value
pairs, while others might be
raw values (i.e., no equals sign).
arg
- The string to parse.Item
s.IllegalArgumentException
- If the string does not conform to expected
syntax.Items parse(String arg, boolean strict)
Some data elements might be key=value
pairs, while others might be
raw values (i.e., no equals sign).
arg
- The string to parse.strict
- Whether to fail fast when encountering an unassigned variable
token.Item
s.IllegalArgumentException
- If the string does not conform to expected
syntax.Copyright © 2015–2022 SciJava. All rights reserved.