Class PrimeResource
- java.lang.Object
-
- javax.faces.application.ViewResource
-
- javax.faces.application.Resource
-
- javax.faces.application.ResourceWrapper
-
- org.primefaces.application.resource.PrimeResource
-
- All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.application.Resource>
public class PrimeResource extends javax.faces.application.ResourceWrapper
ResourceWrapper
which appends the version of PrimeFaces to the URL.
-
-
Constructor Summary
Constructors Constructor Description PrimeResource(javax.faces.application.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
String
getLibraryName()
String
getRequestPath()
String
getResourceName()
javax.faces.application.Resource
getWrapped()
void
setContentType(String contentType)
void
setLibraryName(String libraryName)
void
setResourceName(String resourceName)
String
toString()
-
-
-
Method Detail
-
getWrapped
public javax.faces.application.Resource getWrapped()
- Specified by:
getWrapped
in interfacejavax.faces.FacesWrapper<javax.faces.application.Resource>
- Overrides:
getWrapped
in classjavax.faces.application.ResourceWrapper
-
getRequestPath
public String getRequestPath()
- Overrides:
getRequestPath
in classjavax.faces.application.ResourceWrapper
-
getContentType
public String getContentType()
- Overrides:
getContentType
in classjavax.faces.application.ResourceWrapper
-
getLibraryName
public String getLibraryName()
- Overrides:
getLibraryName
in classjavax.faces.application.ResourceWrapper
-
getResourceName
public String getResourceName()
- Overrides:
getResourceName
in classjavax.faces.application.ResourceWrapper
-
setContentType
public void setContentType(String contentType)
- Overrides:
setContentType
in classjavax.faces.application.ResourceWrapper
-
setLibraryName
public void setLibraryName(String libraryName)
- Overrides:
setLibraryName
in classjavax.faces.application.ResourceWrapper
-
setResourceName
public void setResourceName(String resourceName)
- Overrides:
setResourceName
in classjavax.faces.application.ResourceWrapper
-
toString
public String toString()
- Overrides:
toString
in classjavax.faces.application.Resource
-
-