Examples of relativizeLink()


Examples of org.apache.maven.doxia.site.decoration.inheritance.URIPathDescriptor.relativizeLink()

    // this shouldn't be necessary, just to swallow malformed hrefs
    try {
     
      final URIPathDescriptor path = new URIPathDescriptor(baseDirUri, link);
      return path.relativizeLink().toString();
     
    } catch (IllegalArgumentException e) {
      return link;
    }
  }
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.