Package net.sourceforge.javautil.common.io.impl

Examples of net.sourceforge.javautil.common.io.impl.Directory


      war = (IVirtualDirectory) artifact;
    } else {
      throw new VirtualArtifactDeployerException(deployer, artifact, "Cannot deploy the artifact as a web application: " + artifact);
    }
   
    Directory vwar = new DirectoryRoot();
    vwar.link(war);
   
    return new WebApplicationDeployment(vwar, deployer, war);
  }
View Full Code Here


    for (IVirtualArtifactDeployment depl : this.deployments) if (depl.isLinked(deployment)) return depl.getLinkedDeployment(deployment);
    return null;
  }

  public Directory getDeploymentStructure() {
    Directory composite = new DirectoryRoot();
    for (IVirtualArtifactDeployment depl : this.deployments) {
      if (depl.getDeploymentStructure() instanceof IVirtualDirectory) {
        composite.link((IVirtualDirectory) depl.getDeploymentStructure());
      } else {
        composite.link((IVirtualFile) depl.getDeploymentStructure(), depl.getDeploymentStructure().getName());
      }
    }
    return composite;
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.javautil.common.io.impl.Directory

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.