Class ShapefileDirectoryFactory

    • Constructor Detail

      • ShapefileDirectoryFactory

        public ShapefileDirectoryFactory()
    • Method Detail

      • canProcess

        public boolean canProcess​(Map<String,​?> params)
        Description copied from interface: DataAccessFactory
        Test to see if this factory is suitable for processing the data pointed to by the params map.

        If this datasource requires a number of parameters then this mehtod should check that they are all present and that they are all valid. If the datasource is a file reading data source then the extentions or mime types of any files specified should be checked. For example, a Shapefile datasource should check that the url param ends with shp, such tests should be case insensative.

        Specified by:
        canProcess in interface DataAccessFactory
        Overrides:
        canProcess in class ShapefileDataStoreFactory
        Parameters:
        params - The full set of information needed to construct a live data source.
        Returns:
        booean true if and only if this factory can process the resource indicated by the param set and all the required params are pressent.