Package org.jboss.net.protocol.file

Examples of org.jboss.net.protocol.file.FileURLLister


      getLog().debug("+++ testListDeployLikeDirStructureDontRecurse");
     
      String baseUrlString = super.getResourceURL("util/fileurllister/deploy/");
      URL baseUrl = new URL(baseUrlString);
     
      FileURLLister lister = new FileURLLister();
      Collection files = lister.listMembers(baseUrl, "*", false);
     
      logResult(files);
     
      String[] expected = new String[] {
            "dotted.sub.dir/",
View Full Code Here


      getLog().debug("+++ testListDeployLikeDirStructureRecurse");
     
      String baseUrlString = super.getResourceURL("util/fileurllister/deploy/");
      URL baseUrl = new URL(baseUrlString);
     
      FileURLLister lister = new FileURLLister();
      Collection files = lister.listMembers(baseUrl, "*", true);
     
      logResult(files);
     
      String[] expected = new String[] {
            "dotted.sub.dir/",
View Full Code Here

      getLog().debug("+++ testListDeployLikeDirStructureDontRecurseWithFilter");
     
      String baseUrlString = super.getResourceURL("util/fileurllister/deploy/");
      URL baseUrl = new URL(baseUrlString);
     
      FileURLLister lister = new FileURLLister();
      Collection files = lister.listMembers(baseUrl, "one.xml,nondottedsubdir,three.xml", false);
     
      logResult(files);
     
      String[] expected = new String[] {
            "nondottedsubdir/",
View Full Code Here

      getLog().debug("+++ testListDeployLikeDirStructureRecurseWithFilter");
     
      String baseUrlString = super.getResourceURL("util/fileurllister/deploy/");
      URL baseUrl = new URL(baseUrlString);
     
      FileURLLister lister = new FileURLLister();
      Collection files = lister.listMembers(baseUrl, "one.xml,nondottedsubdir,three.xml", true);
     
      logResult(files);
     
      String[] expected = new String[] {
            "nondottedsubdir/three.xml",
View Full Code Here

TOP

Related Classes of org.jboss.net.protocol.file.FileURLLister

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.