public class SshPublicKeyInput extends ParseAbstractInput<java.lang.String> implements ItemInput<java.lang.String,java.security.PublicKey>
validators| Constructor and Description |
|---|
SshPublicKeyInput() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
convert(java.lang.Object v)
Perform any supported type conversions to to generate a value of the
target type
|
java.security.PublicKey |
getItembyValue(java.lang.String value)
get the domain object from the Input value if defined
|
java.lang.String |
getString(java.lang.String val)
get a String representation of an Object that is compatible with the way
the input is parsed
|
boolean |
isEmpty()
Is the input empty.
|
java.lang.String |
parseValue(java.lang.String v)
Parse a String into the correct type for this input.
|
void |
setItem(java.security.PublicKey item)
Set the value of the input using an item
|
void |
setMinBits(int bits) |
protected void |
validateKey(java.security.PublicKey key) |
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSinglegetValue, setKey, setValueaddValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addValidator, getKey, getPrettyString, getValue, removeValidator, setKey, setValue, validategetString, parsepublic void setMinBits(int bits)
public java.security.PublicKey getItembyValue(java.lang.String value)
ItemInputgetItembyValue in interface ItemInput<java.lang.String,java.security.PublicKey>value - input Valuepublic void setItem(java.security.PublicKey item)
ItemInputprotected void validateKey(java.security.PublicKey key)
throws ValidateException
ValidateExceptionpublic java.lang.String parseValue(java.lang.String v)
throws ParseException
ParseInputInput.getString(Object) method.parseValue in interface ParseInput<java.lang.String>ParseExceptionpublic java.lang.String getString(java.lang.String val)
BaseInputgetString in interface Input<java.lang.String>getString in class BaseInput<java.lang.String>ParseInputpublic java.lang.String convert(java.lang.Object v)
throws TypeError
Input