Package picocli
Class CommandLine.BuiltIn.URLConverter
- java.lang.Object
-
- picocli.CommandLine.BuiltIn.URLConverter
-
- All Implemented Interfaces:
CommandLine.ITypeConverter<java.net.URL>
- Enclosing class:
- CommandLine.BuiltIn
static class CommandLine.BuiltIn.URLConverter extends java.lang.Object implements CommandLine.ITypeConverter<java.net.URL>
-
-
Constructor Summary
Constructors Constructor Description URLConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
convert(java.lang.String value)
Converts the specified command line argument value to some domain object.
-
-
-
Method Detail
-
convert
public java.net.URL convert(java.lang.String value) throws java.net.MalformedURLException
Description copied from interface:CommandLine.ITypeConverter
Converts the specified command line argument value to some domain object.- Specified by:
convert
in interfaceCommandLine.ITypeConverter<java.net.URL>
- Parameters:
value
- the command line argument String value- Returns:
- the resulting domain object
- Throws:
java.net.MalformedURLException
-
-