private void extractPaths(ResourceQuery query) { ResourcePathFileTraversal traverser = new ResourcePathFileTraversal(new File(query.constructBasePath())); traverser.addDatasourceFilters(query.getFilters()); m_paths = traverser.traverseDirectory(); Collections.sort(m_paths); System.err.println("paths: " + m_paths); }
public ResourceDataSource(ResourceQuery query) { extractPaths(query); m_filterFields = new ResourceFilterFields(query.getFilters(), query.getStringProperties()); }