Package org.apache.metamodel.util

Examples of org.apache.metamodel.util.UrlResource


        if (resource != null) {
            return new SpringResource(resource);
        } else if (params.getFilename() != null) {
            return new FileResource(params.getFilename());
        } else if (params.getUrl() != null) {
            return new UrlResource(params.getUrl());
        }
        return null;
    }
View Full Code Here


     *
     * @param url
     * @param configuration
     */
    public CsvDataContext(URL url, CsvConfiguration configuration) {
        _resource = new UrlResource(url);
        _configuration = configuration;
        _writable = false;
    }
View Full Code Here

        _schemaName = schemaName;
        _autoFlattenTables = autoFlattenTables;
    }

    public XmlDomDataContext(URL url, boolean autoFlattenTables) throws IllegalArgumentException {
        this(new UrlResource(url), autoFlattenTables);
    }
View Full Code Here

        _schemaName = schemaName;
        _autoFlattenTables = autoFlattenTables;
    }

    public XmlDomDataContext(URL url, boolean autoFlattenTables) throws IllegalArgumentException {
        this(new UrlResource(url), autoFlattenTables);
    }
View Full Code Here

TOP

Related Classes of org.apache.metamodel.util.UrlResource

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.