Methods Summary |
---|
public void | addString(java.lang.String toAdd)This method appends a String.
this.strings.add(toAdd);
|
public java.lang.String | getKeyID()This method gets the keyID.
return this.keyID;
|
public java.lang.String | getLicenseURL()This method gets the license URL.
return this.licenseURL;
|
public java.lang.String | getProtectionType()This method gets the secret data.
return this.protectionType;
|
public java.lang.String | getSecretData()This method gets the secret data.
return this.secretData;
|
public java.util.Collection | getStrings()This method returns a collection of all {@link String}s which were addid
due {@link #addString(String)}.
return new ArrayList<String>(this.strings);
|
public java.lang.String | prettyPrint(java.lang.String prefix){@inheritDoc}
final StringBuilder result = new StringBuilder(super.prettyPrint(prefix));
result.insert(0, Utils.LINE_SEPARATOR + prefix + " Encryption:"
+ Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->keyID ").append(this.keyID).append(
Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->secretData ").append(this.secretData)
.append(Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->protectionType ").append(
this.protectionType).append(Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->licenseURL ").append(this.licenseURL)
.append(Utils.LINE_SEPARATOR);
this.strings.iterator();
for (final String string : this.strings) {
result.append(prefix).append(" |->").append(string).append(Utils.LINE_SEPARATOR);
}
return result.toString();
|
public void | setKeyID(java.lang.String toAdd)This method appends a String.
this.keyID = toAdd;
|
public void | setLicenseURL(java.lang.String toAdd)This method appends a String.
this.licenseURL = toAdd;
|
public void | setProtectionType(java.lang.String toAdd)This method appends a String.
this.protectionType = toAdd;
|
public void | setSecretData(java.lang.String toAdd)This method adds the secret data.
this.secretData = toAdd;
|