public class DefaultParseService extends AbstractService implements ParseService
Constructor and Description |
---|
DefaultParseService() |
Modifier and Type | Method and Description |
---|---|
Items |
parse(String arg,
boolean strict)
Parses a comma-delimited list of data elements.
|
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
parse
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public Items parse(String arg, boolean strict)
ParseService
Some data elements might be key=value
pairs, while others might be
raw values (i.e., no equals sign).
parse
in interface ParseService
arg
- The string to parse.strict
- Whether to fail fast when encountering an unassigned variable
token.Item
s.Copyright © 2015–2022 SciJava. All rights reserved.