| org.wings.StaticResource org.wings.resource.ClassPathResource
All known Subclasses: org.wings.resource.ClassPathJavascriptResource, org.wings.resource.ClassPathStylesheetResource, org.wings.SResourceIcon,
resourceFileName | final protected String resourceFileName(Code) | | The name that identifies the resource in the classpath
|
ClassPathResource | public ClassPathResource(String resourceFileName)(Code) | | A static resource that is obtained from the default classpath.
|
ClassPathResource | public ClassPathResource(String resourceFileName, String mimeType)(Code) | | A static resource that is obtained from the default classpath.
|
ClassPathResource | public ClassPathResource(ClassLoader classLoader, String resourceFileName)(Code) | | A static resource that is obtained from the specified class loader
Parameters: classLoader - the classLoader from which the resource is obtained Parameters: resourceFileName - the resource relative to the baseClass |
ClassPathResource | public ClassPathResource(ClassLoader classLoader, String resourceFileName, String mimeType)(Code) | | A static resource that is obtained from the specified class loader
Parameters: classLoader - the classLoader from which the resource is obtained Parameters: resourceFileName - the resource relative to the baseClass |
equals | public boolean equals(Object o)(Code) | | Two ClasspathResouces are equal if both of them use the same
classloader and point to a resource with the same name.
true if classloader and resource name are equal. |
getClassLoader | protected ClassLoader getClassLoader()(Code) | | The stored classloader or the current context classloader if none fixed passed (prefer this case due to session serialization!) |
hashCode | public int hashCode()(Code) | | resources using the same classloader and are denoting the same
name, do have the same hashCode(). Thus the same resources get the
same ID in the System externalizer.
a hashcode, comprised from the hashcodes of the classloaderand from the file name of the resource. |
|
|