public class PathConverter extends Object implements ValueConverter<Path>
Path
objects and checks the status of the underlying file.Constructor and Description |
---|
PathConverter(PathProperties... pathProperties) |
Modifier and Type | Method and Description |
---|---|
Path |
convert(String value)
Converts the given string value into a Java type.
|
String |
valuePattern()
Gives a string that describes the pattern of the values this converter expects, if any.
|
Class<Path> |
valueType()
Gives the class of the type of values this converter converts to.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
revert
public PathConverter(PathProperties... pathProperties)
public Path convert(String value)
ValueConverter
convert
in interface ValueConverter<Path>
value
- the string to convertpublic Class<Path> valueType()
ValueConverter
valueType
in interface ValueConverter<Path>
public String valuePattern()
ValueConverter
date format string
.valuePattern
in interface ValueConverter<Path>
null
if there's nothing interesting here© Copyright 2004-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License.