Class WApplication.ApplicationResource
- java.lang.Object
-
- com.github.bordertech.wcomponents.WApplication.ApplicationResource
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- WApplication
public static class WApplication.ApplicationResource extends Object implements Serializable
Holds the details of CSS and JS custom resources.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationResource(InternalResource resource)
ApplicationResource(String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
InternalResource
getResource()
String
getResourceId()
String
getTargetUrl()
String
getUrl()
int
hashCode()
-
-
-
Constructor Detail
-
ApplicationResource
public ApplicationResource(String url)
- Parameters:
url
- URL to a resource
-
ApplicationResource
public ApplicationResource(InternalResource resource)
- Parameters:
resource
- internal resource
-
-
Method Detail
-
getResourceId
public String getResourceId()
- Returns:
- the resource id
-
getUrl
public String getUrl()
- Returns:
- the resource URL
-
getResource
public InternalResource getResource()
- Returns:
- the internal resource
-
getTargetUrl
public String getTargetUrl()
- Returns:
- the target URL of the resource
-
-