com.beust.jcommander.converters
Class LongConverter
java.lang.Object
com.beust.jcommander.converters.BaseConverter<Long>
com.beust.jcommander.converters.LongConverter
- All Implemented Interfaces:
- IStringConverter<Long>
public class LongConverter
- extends BaseConverter<Long>
Convert a string to a long.
- Author:
- cbeust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongConverter
public LongConverter(String optionName)
convert
public Long convert(String value)
- Returns:
- an object of type created from the parameter value.
Copyright © 2011. All Rights Reserved.