How to transform an IPath into Path

1

I'm wondering how to get a Path through IPath ,

I have a variable of type IPath but I have a method that requires a Path , tried to cast but was unsuccessful,     

asked by anonymous 07.02.2014 / 17:11

1 answer

4

So:

Path path = Paths.get(iPath.toFile().toURI());
    
07.02.2014 / 17:25