Examples of ZipPathNode


Examples of org.wymiwyg.commons.util.dirbrowser.ZipPathNode

   *
   */
  public MoleculeDiffDeserialized(File file) throws IOException {
    ZipFile zipFile = new ZipFile(file);
    // PathNode zipRoot = new ZipPathNode(zipFile, "");
    PathNode commonFgNodesPath = new ZipPathNode(zipFile,
        "fgNodes/used-common/");// zipRoot.getSubPath("fgnodes/onlyIn1/");
    deserializeFgNodes(zipFile, commonFgNodesPath,
        commonFgNodesInDiffMolecules);

    PathNode fgNodesOnlyIn1Path = new ZipPathNode(zipFile,
        "fgNodes/onlyIn1/");// zipRoot.getSubPath("fgnodes/onlyIn1/");
    deserializeFgNodes(zipFile, fgNodesOnlyIn1Path, fgNodesOnlyIn1);
    PathNode fgNodesOnlyIn2Path = new ZipPathNode(zipFile,
        "fgNodes/onlyIn2/");// zipRoot.getSubPath("fgnodes/onlyIn2/");
    deserializeFgNodes(zipFile, fgNodesOnlyIn2Path, fgNodesOnlyIn2);

   
   
    PathNode cgFgNodesPath = new ZipPathNode(zipFile,
        "fgNodes/crossGraphFgNodes/");
    deserializeCgFgNodes(zipFile, cgFgNodesPath);
    functionallyGroundedBuilder.release();
    PathNode moleculesOnlyIn1Path = new ZipPathNode(zipFile,
        "contextual-molecules/onlyIn1/");
    deserializeMolecules(moleculesOnlyIn1Path, contextualMoleculesOnlyIn1);
    PathNode moleculesOnlyIn2Path = new ZipPathNode(zipFile,
        "contextual-molecules/onlyIn2/");
    deserializeMolecules(moleculesOnlyIn2Path, contextualMoleculesOnlyIn2);
    PathNode terminalMoleculesOnlyIn1Path = new ZipPathNode(zipFile,
        "terminal-molecules/onlyIn1/");
    deserializeTerminalMolecules(terminalMoleculesOnlyIn1Path,
        terminalMoleculesOnlyIn1);
    PathNode terminalMoleculesOnlyIn2Path = new ZipPathNode(zipFile,
        "terminal-molecules/onlyIn2/");
    deserializeTerminalMolecules(terminalMoleculesOnlyIn2Path,
        terminalMoleculesOnlyIn2);
    fgNodesOnlyIn1 = new HashSet<FunctionallyGroundedNode>(fgNodesOnlyIn1);
    fgNodesOnlyIn2 = new HashSet<FunctionallyGroundedNode>(fgNodesOnlyIn2);
View Full Code Here

Examples of org.wymiwyg.commons.util.dirbrowser.ZipPathNode

    }
    try {
      String relativePath = new URI(ReferencingNaturalizer.rootURL)
          .relativize(describingResource.getURIRef(), URI.SAMEDOCUMENT
              | URI.ABSOLUTE | URI.RELATIVE | URI.PARENT);
      PathNode pathNode = new ZipPathNode(zipFile, relativePath);
      //FunctionallyGroundedNode result =
      return getFgNodeFromPathNode(zipFile, pathNode, describingResource);
    } catch (MalformedURIException e) {
      throw new RuntimeException(e);
    }
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.