Interface FileDataStoreFactorySpi

    • Method Detail

      • getFileExtensions

        String[] getFileExtensions()
        The list of filename extentions handled by this factory.
        Returns:
        List of file extensions which can be read by this dataStore.
      • canProcess

        boolean canProcess​(URL url)
        Tests if the provided url can be handled by this factory.
        Parameters:
        url - URL to a real file (may not be local)
        Returns:
        true if this url can when this dataStore can resolve and read the data specified
      • createDataStore

        FileDataStore createDataStore​(URL url)
                               throws IOException
        A DataStore attached to the provided url, may be created if needed.

        Please note that additional configuration options may be available via the traditional createDataStore( Map ) method provided by the superclass.

        Parameters:
        url - The data location for the
        Returns:
        Returns an AbstractFileDataStore created from the data source provided.
        Throws:
        IOException
        See Also:
        AbstractFileDataStore
      • getTypeName

        String getTypeName​(URL url)
                    throws IOException
        The typeName represented by the provided url.
        Parameters:
        url - The location of the datum to parse into features
        Returns:
        Returns the typename of the datum specified (on occasion this may involve starting the parse as well to get the FeatureType -- may not be instantanious).
        Throws:
        IOException