Package com.beust.jcommander.args

Examples of com.beust.jcommander.args.ArgsConverterFactory


   
  };

  @Test
  public void parameterWithHostPortParameters() {
    ArgsConverterFactory a = new ArgsConverterFactory();
    JCommander jc = new JCommander(a);
    jc.addConverterFactory(CONVERTER_FACTORY);
    jc.parse("-hostport", "example.com:8080");

    Assert.assertEquals(a.hostPort.host, "example.com");
View Full Code Here

TOP

Related Classes of com.beust.jcommander.args.ArgsConverterFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.