Java String to Path

Path path = Paths.get(textPath);
Clumsy Crayfish