org.apache.maven.doxia.site.decoration.inheritance
Class PathDescriptor
java.lang.Object
org.apache.maven.doxia.site.decoration.inheritance.PathDescriptor
- public class PathDescriptor
- extends java.lang.Object
This class holds an instance of a maven path. This consists of a relative path (e.g. images/maven-logo.png) and a
base reference which can also be a relative path (e.g. '.' or '../doxia') or an URL that is used for an absolute
anchor.
- Version:
- $Id: PathDescriptor.java 542490 2007-05-29 11:18:51Z vsiveton $
- Author:
- Henning P. Schmiedehausen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathDescriptor
public PathDescriptor(java.lang.String path)
throws java.net.MalformedURLException
PathDescriptor
public PathDescriptor(java.lang.String base,
java.lang.String path)
throws java.net.MalformedURLException
PathDescriptor
public PathDescriptor(java.net.URL baseUrl,
java.lang.String path)
throws java.net.MalformedURLException
isFile
public boolean isFile()
isRelative
public boolean isRelative()
getBaseUrl
public java.net.URL getBaseUrl()
getPathUrl
public java.net.URL getPathUrl()
getPath
public java.lang.String getPath()
getLocation
public java.lang.String getLocation()
toString
public java.lang.String toString()
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.