Top Description Constructors Methods
com.beust.jcommander.converters

public Class PathConverter

extends BaseConverter<Path>
Class Inheritance
Imports
com.beust.jcommander.ParameterException, java.nio.file.InvalidPathException, .Path, .Paths

Convert a string into a path.
Author
samvv

Constructor Summary

AccessConstructor and Description
public
PathConverter(String optionName)

Method Summary

Modifier and TypeMethod and Description
public Path
private static String
Inherited from com.beust.jcommander.converters.BaseConverter:
getErrorStringgetOptionName

Constructor Detail

PathConverterback to summary
public PathConverter(String optionName)

Method Detail

convertback to summary
public Path convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:Path

Doc from com.beust.jcommander.IStringConverter.convert.

an object of type T created from the parameter value.

escapeUnprintableback to summary
private static String escapeUnprintable(String value)