Package org.fao.geonet.util

Examples of org.fao.geonet.util.XMLExtensionFilenameFilter


  @Override
    public void doHarvest(Logger l) throws Exception {
    log.debug("LocalFilesystem doHarvest: top directory is " + params.directoryname + ", recurse is " + params.recurse);
    File directory = new File(params.directoryname);
    List<File> results = IO.getFilesInDirectory(directory, params.recurse, new XMLExtensionFilenameFilter(XMLExtensionFilenameFilter.ACCEPT_DIRECTORIES));
    log.debug("LocalFilesystem doHarvest: found #" + results.size() + " XML files.");
    this.result = align(results);
  }
View Full Code Here

TOP

Related Classes of org.fao.geonet.util.XMLExtensionFilenameFilter

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.