Class URIConverter

java.lang.Object
com.evolveum.midpoint.ninja.util.URIConverter
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<URI>

public class URIConverter extends Object implements com.beust.jcommander.IStringConverter<URI>, com.beust.jcommander.IParameterValidator
Created by Viliam Repan (lazyman).
  • Constructor Details

    • URIConverter

      public URIConverter()
    • URIConverter

      public URIConverter(String optionName)
  • Method Details

    • convert

      public URI convert(String value)
      Specified by:
      convert in interface com.beust.jcommander.IStringConverter<URI>
    • validate

      public void validate(String name, String value) throws com.beust.jcommander.ParameterException
      Specified by:
      validate in interface com.beust.jcommander.IParameterValidator
      Throws:
      com.beust.jcommander.ParameterException