Class IdentityPublicKeyConverter

  • All Implemented Interfaces:
    picocli.CommandLine.ITypeConverter<org.drasyl.identity.IdentityPublicKey>

    public class IdentityPublicKeyConverter
    extends Object
    implements picocli.CommandLine.ITypeConverter<org.drasyl.identity.IdentityPublicKey>
    Converts command line argument values to IdentityPublicKeys.
    • Constructor Detail

      • IdentityPublicKeyConverter

        public IdentityPublicKeyConverter()
    • Method Detail

      • convert

        public org.drasyl.identity.IdentityPublicKey convert​(String value)
                                                      throws Exception
        Specified by:
        convert in interface picocli.CommandLine.ITypeConverter<org.drasyl.identity.IdentityPublicKey>
        Throws:
        Exception