394041424344454647
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; }
99100101102103104105106107
* * @param url * @param configuration */ public CsvDataContext(URL url, CsvConfiguration configuration) { _resource = new UrlResource(url); _configuration = configuration; _writable = false; }
147148149150151152153
_schemaName = schemaName; _autoFlattenTables = autoFlattenTables; } public XmlDomDataContext(URL url, boolean autoFlattenTables) throws IllegalArgumentException { this(new UrlResource(url), autoFlattenTables); }