This will provide support for the new api for users who need it, and provide better information in I/O operations, e.g. detailed exception if file cannot be read.
- used Path and methods in java.nio.file.Files internally
- add getPath() method as the counterpart to getFile()
- modified test to use
- is required by
TIKA-1745 Add methods accepting java.nio.file.Path to org.apache.tika.Tika and org.apache.tika.parser.ParsingReader