| java.lang.Object nextapp.echo2.app.StreamImageReference nextapp.echo2.app.ResourceImageReference
ResourceImageReference | public class ResourceImageReference extends StreamImageReference (Code) | | A representation of an image that will be retrieved as a resource from
the CLASSPATH.
|
ResourceImageReference | public ResourceImageReference(String resource)(Code) | | Creates a ResourceImageReference .
The content type will be automatically determined.
Parameters: resource - the resource name containing the binary image data |
ResourceImageReference | public ResourceImageReference(String resource, String contentType)(Code) | | Creates a ResourceImageReference .
Parameters: resource - the resource name containing the binary image data(all resource names will be treated as absolute, it is unnecessary to prepend a leading slash to the resource name) Parameters: contentType - the content type of the image (or null to automatically determine the content type based on the resourceextension) |
ResourceImageReference | public ResourceImageReference(String resource, Extent width, Extent height)(Code) | | Creates a ResourceImageReference .
The content type will be automatically determined.
Parameters: resource - the resource name containing the binary image data(all resource names will be treated as absolute, it is unnecessary to prepend a leading slash to the resource name) Parameters: width - the width of the image Parameters: height - the height of the image |
ResourceImageReference | public ResourceImageReference(String resource, String contentType, Extent width, Extent height)(Code) | | Creates a ResourceImageReference .
Parameters: resource - the resource name containing the binary image data(all resource names will be treated as absolute, it is unnecessary to prepend a leading slash to the resource name) Parameters: contentType - the content type of the image (or null to automatically determine the content type based on the resourceextension) Parameters: width - the width of the image Parameters: height - the height of the image |
getResource | public String getResource()(Code) | | Returns the name of the resource.
the name of the resource |
|
|