public class RootedURL extends Object implements Serializable
CPScanner
sends resource URL addresses to filters as RootedURL classes instead of single URL's. Thus filters
can find out package name and file names.| Constructor and Description |
|---|
RootedURL(URL rootURL,
URL resourceURL)
Constructs a new RootedURL address
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPackageName()
Extracts the package name from resource URL
|
String |
getResourceName()
Extracts the resource name from resource URL
|
URL |
getResourceURL() |
URL |
getRootURL() |
String |
toString() |
public URL getRootURL()
public URL getResourceURL()
public String getPackageName()
public String getResourceName()
Copyright © 2013. All Rights Reserved.