Package org.wymiwyg.commons.util

Examples of org.wymiwyg.commons.util.URI


    FunctionallyGroundedNode existing = descriptionPathToFgNode.get(describingResource);
    if (existing != null) {
      return existing;
    }
    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);
View Full Code Here


  private void writeFgNode(FunctionallyGroundedNode fgNode,
      NamedNode namedNode, ReferencingNaturalizer naturalizer,
      ZipOutputStream zipOut) throws IOException {
    String relativePath;
    try {
      relativePath = new URI(ReferencingNaturalizer.rootURL).relativize(
          namedNode.getURIRef(), URI.SAMEDOCUMENT | URI.ABSOLUTE
              | URI.RELATIVE | URI.PARENT);
    } catch (MalformedURIException e) {
      throw new RuntimeException(e);
    }
View Full Code Here

TOP

Related Classes of org.wymiwyg.commons.util.URI

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.