public static JtsMvt loadMvt(File file,
                                 GeometryFactory geomFactory,
                                 ITagConverter tagConverter,
                                 RingClassifier ringClassifier) throws IOException {
        final JtsMvt jtsMvt;

        try(final InputStream is = new FileInputStream(file)) {
            jtsMvt = loadMvt(is, geomFactory, tagConverter, ringClassifier);
        }

        return jtsMvt;
    }
public static JtsMvt loadMvt ( File file , GeometryFactory geomFactory , ITagConverter tagConverter , RingClassifier ringClassifier ) throws IOException { final JtsMvt jtsMvt ; try ( final InputStream is = new FileInputStream ( file ) ) { jtsMvt = loadMvt ( is , geomFactory , tagConverter , ringClassifier ) ; } return jtsMvt ; }
Convenience method for loading MVT from file.
See {@link #loadMvt(InputStream, GeometryFactory, ITagConverter, RingClassifier)}.

@param file path to the MVT
@param geomFactory allows for JTS geometry creation
@param tagConverter converts MVT feature tags to JTS user data object
@param ringClassifier determines how rings are parsed into Polygons and MultiPolygons
@return JTS MVT with geometry in MVT coordinates
@throws IOException failure reading MVT from path
@see #loadMvt(InputStream, GeometryFactory, ITagConverter, RingClassifier)
@see Geometry
@see Geometry#getUserData()
@see RingClassifier