fromString method

Descriptor fromString (
  1. String value
)

Parses colon-separated list of descriptor fields and returns them as a Descriptor.

  • value colon-separated descriptor fields to initialize Descriptor. Returns a newly created Descriptor. @throws a ConfigException if the descriptor string is of a wrong format.