public class ArgumentConverter extends Object
Modifier and Type | Method and Description |
---|---|
static Path |
pathFromArgument(String argument)
Converts the string passed as a command-line argument to a path.
|
public static Path pathFromArgument(String argument) throws InvalidPathArgumentException
argument
- the string to convertInvalidPathArgumentException
- if the argument is not a valid path.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.