public Optional<Path> getPath(String key) {
        Optional<String> property = getString(key);
        if (property.isPresent()) {
            return Optional.of(Paths.get(property.get()));
        } else {
            return Optional.empty();
        }
    }
public Optional < Path > getPath ( String key ) { Optional < String > property = getString ( key ) ; if ( property . isPresent ( ) ) { return Optional . of ( Paths . get ( property . get ( ) ) ) ; } else { return Optional . empty ( ) ; } }
Return the Path property value associated with the given key, or
{@code defaultValue} if the key cannot be resolved.

@param key the property name to resolve
@return The Path property
@throws IllegalStateException if the value cannot be mapped to the enum