public class DefaultParseService extends AbstractService implements ParseService
Constructor and Description |
---|
DefaultParseService() |
Modifier and Type | Method and Description |
---|---|
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.
|
dispose, getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public Items parse(String arg)
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.Item
s.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 © 2009–2016 SciJava. All rights reserved.