org.apache.tools.ant.taskdefs
Class GenerateKey.DistinguishedName
java.lang.Object
org.apache.tools.ant.taskdefs.GenerateKey.DistinguishedName
- GenerateKey
public static class GenerateKey.DistinguishedName
extends java.lang.Object
A class corresponding to the dname nested element.
Object | createParam() - Create a param nested element.
|
String | encode(String string) - Encode a name or value.
|
Enumeration | getParams() - Get the nested parameters.
|
String | toString() - Generate a string rep of this distinguished name.
|
createParam
public Object createParam()
Create a param nested element.
- a DnameParam object to be configured.
encode
public String encode(String string)
Encode a name or value.
The encoded result is the same as the input string
except that each ',' is replaced by a '\,'.
string
- the value to be encoded
getParams
public Enumeration getParams()
Get the nested parameters.
- an enumeration of the nested parameters.
toString
public String toString()
Generate a string rep of this distinguished name.
The format is each of the parameters (name = value)
separated by ','.
This is used on the command line.
- a string rep of this name