public class WebAppPath
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected static org.apache.log4j.Logger |
logger |
| Constructor | Description |
|---|---|
WebAppPath() |
| Modifier and Type | Method | Description |
|---|---|---|
java.net.URI |
fromClassURI(java.net.URI classURI) |
|
java.net.URI |
fromClassURI(java.net.URI classURI,
java.lang.String customWebAppLocation) |
|
protected java.lang.String |
makeProjectPath(java.lang.String classURI,
java.lang.String splitter) |
Given a classURI Then return it's project path.
|
public java.net.URI fromClassURI(java.net.URI classURI)
throws java.net.URISyntaxException
classURI - location of a project's classesjava.net.URISyntaxException - if an issue occurred constructing the URIpublic java.net.URI fromClassURI(java.net.URI classURI,
java.lang.String customWebAppLocation)
throws java.net.URISyntaxException
classURI - location of a project's classescustomWebAppLocation - the webapp location to append to the project's path, /src/main/webappjava.net.URISyntaxExceptionprotected java.lang.String makeProjectPath(java.lang.String classURI,
java.lang.String splitter)
classURI - splitter - /build or /target