Class PropertyDesc

java.lang.Object
net.sourceforge.jnlp.PropertyDesc

public class PropertyDesc extends Object
The property element.
  • Constructor Details

    • PropertyDesc

      public PropertyDesc(String key, String value)
      Creates a property descriptor.
      Parameters:
      key - the key name
      value - the value
  • Method Details

    • fromString

      public static PropertyDesc fromString(String prop) throws LaunchException
      Parameters:
      prop - - the property to be parsed from format key=value
      Returns:
      new PropertyDesc based on parsed key=value, though composed from key and value
      Throws:
      LaunchException - if creations fails
    • getKey

      public String getKey()
      Returns:
      the property's key
    • getValue

      public String getValue()
      Returns:
      the property's value