com.neeve.util
Class UtlPropsDescriptor
java.lang.Object
com.neeve.util.UtlDescriptor
com.neeve.util.UtlPropsDescriptor
public final class UtlPropsDescriptor
- extends UtlDescriptor
Utility class representing a Neeve properties descriptor.
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.
Field Summary |
Properties |
props
The set of properties parsed from the config string. |
props
public final Properties props
- The set of properties parsed from the config string.
parse
public static UtlPropsDescriptor parse(String descriptor,
Properties props)
throws IllegalArgumentException
- Parse an properties descriptor into its components.
- Parameters:
descriptor
- The properties descriptor.props
- The properties table to use as the starting point for
setting properties parsed from the descriptor.
- Throws:
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 © 2016 Neeve Research, LLC. All Rights Reserved.