Examples of ISystemArtifact


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

    this.directory = directory;
    this.path = directory.getPath();
  }

  public File getFile(String path) {
    ISystemArtifact artifact = directory.getArtifact(ISystemArtifact.class, new SimplePath(path));
     
    if (artifact != null) {
      return artifact.getRealArtifact();
    } else {
      return null;
    }
  }
View Full Code Here

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

        return ctx;
      }
    }
   
    if (ctx.getCurrentDependency().isSystemReference()) {
      ISystemArtifact artifact = ctx.getCurrentDependency().getSystemArtifact();
     
      ctx.setAvailable(this, null, artifact instanceof SystemDirectory ?
          new VirtualDirectoryClassSource((IVirtualDirectory)artifact) :
            new ZipClassSource(artifact.getRealArtifact()), ctx.getCurrentDependency().getSystemDescriptor());
     
      return ctx;
    }
   
    if (!this.resolveInternally(ctx)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.