org.salespointframework.core
Class ResourceManager.ResourceModulePNG

java.lang.Object
  extended by org.salespointframework.core.ResourceManager.ResourceModulePNG
All Implemented Interfaces:
ResourceManager.ResourceModule
Enclosing class:
ResourceManager

private static final class ResourceManager.ResourceModulePNG
extends java.lang.Object
implements ResourceManager.ResourceModule

Predefined module for .png-resources.


Constructor Summary
private ResourceManager.ResourceModulePNG()
           
 
Method Summary
 java.lang.String getExtension()
          Returns the resource's file extension: "png".
 java.lang.String getPath()
          Returns the path relative to the current resource path.
 java.lang.String getTypeName()
          Returns the type name of the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceManager.ResourceModulePNG

private ResourceManager.ResourceModulePNG()
Method Detail

getExtension

public java.lang.String getExtension()
Returns the resource's file extension: "png".

Specified by:
getExtension in interface ResourceManager.ResourceModule
Returns:
the file extension

getPath

public java.lang.String getPath()
Returns the path relative to the current resource path.

Specified by:
getPath in interface ResourceManager.ResourceModule
Returns:
the path.

getTypeName

public java.lang.String getTypeName()
Returns the type name of the module. This is the name by which the resources are requested.

Specified by:
getTypeName in interface ResourceManager.ResourceModule
Returns:
the type name