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, setSingle
getValue, setKey, setValue
addValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, addValidator, getKey, getPrettyString, getValue, removeValidator, setKey, setValue, validate
getString, parse
public void setMinBits(int bits)
public java.security.PublicKey getItembyValue(java.lang.String value)
ItemInput
getItembyValue
in interface ItemInput<java.lang.String,java.security.PublicKey>
value
- input Valuepublic void setItem(java.security.PublicKey item)
ItemInput
protected void validateKey(java.security.PublicKey key) throws ValidateException
ValidateException
public java.lang.String parseValue(java.lang.String v) throws ParseException
ParseInput
Input.getString(Object)
method.parseValue
in interface ParseInput<java.lang.String>
ParseException
public java.lang.String getString(java.lang.String val)
BaseInput
getString
in interface Input<java.lang.String>
getString
in class BaseInput<java.lang.String>
ParseInput
public java.lang.String convert(java.lang.Object v) throws TypeError
Input