Package org.eclipse.rdf4j.rio.helpers
Class RioFileTypeDetector
- java.lang.Object
-
- java.nio.file.spi.FileTypeDetector
-
- org.eclipse.rdf4j.rio.helpers.RioFileTypeDetector
-
public class RioFileTypeDetector extends FileTypeDetector
An implementation of FileTypeDetector which uses theRDFParserRegistry
to find supported file types and their extensions.- Author:
- Peter Ansell
-
-
Constructor Summary
Constructors Constructor Description RioFileTypeDetector()
-
-
-
Method Detail
-
probeContentType
public String probeContentType(Path path) throws IOException
- Specified by:
probeContentType
in classFileTypeDetector
- Throws:
IOException
-
-