public final class UtlPropsDescriptor extends UtlDescriptor
This class is a utility class to represent a Neeve properties descriptor.
Such descriptors are specialized descriptors (see UtlDescriptor
)
of the form [type]://prop=name&prop=name&...&prop=name where
each prop=name name value pair specifies a property value.
This class IS NOT intended to be used by end users.
Modifier and Type | Field and Description |
---|---|
Properties |
props
The set of properties parsed from the config string.
|
config, SEPARATOR_STR, type
Modifier and Type | Method and Description |
---|---|
static UtlPropsDescriptor |
parse(String descriptor,
Properties props)
Parse an properties descriptor into its components.
|
appendTo, parse, toString
public final Properties props
public static UtlPropsDescriptor parse(String descriptor, Properties props) throws IllegalArgumentException
descriptor
- The properties descriptor.props
- The properties table to use as the starting point for
setting properties parsed from the descriptor.IllegalArgumentException
- Thrown in case the descriptor string
is not of the form [type]://prop=name&prop=name&...
This method parses a properties descriptor. Upon return, the provided properties table is updated with the configuration properties parsed from the descriptor string.
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.