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 the `RDFParserRegistry` to find supported file types and their extensions.
  Author:
    Peter Ansell

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RioFileTypeDetector()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `probeContentType(Path path)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RioFileTypeDetector

          public RioFileTypeDetector()

  - ### Method Detail

    - #### probeContentType

          public String probeContentType(Path path)
                                  throws IOException

      Specified by:
        `probeContentType` in class `FileTypeDetector`
      Throws:
        `IOException`

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.