Package org.geotools.factory

Examples of org.geotools.factory.FactoryRegistry


     * @param version: requested version compatibility    
     * @param w
     * @return
     */
    public static DXFWriter getWriter(String version, Writer writer) {
        FactoryRegistry writerRegistry = getServiceRegistry();
        Iterator<DXFWriter> it = writerRegistry.getServiceProviders(DXFWriter.class, null, null);
        DXFWriter candidate;
        while (it.hasNext()) {
            candidate = it.next();
            LOGGER.log(Level.FINE,"Evaluating candidate: "+candidate.getDescription());
            if (candidate.supportsVersion(version)) {
View Full Code Here

TOP

Related Classes of org.geotools.factory.FactoryRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.