org.millstone.base.terminal
Class ThemeResource

java.lang.Object
  |
  +--org.millstone.base.terminal.ThemeResource
All Implemented Interfaces:
Resource

public class ThemeResource
extends java.lang.Object
implements Resource

Theme resource is a named theme dependant resource provided and managed by a theme. The actual resource contents are dynamically resolved to comply with the used theme by the terminal adapter. This is commonly used to provide static images, flash, java-applets, etc for the terminals.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.

Constructor Summary
ThemeResource(java.lang.String resourceId)
          Create a resource.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests if the given object equals this Resource.
 java.lang.String getMIMEType()
          Get the MIME type of the resource.
 java.lang.String getResourceId()
          Get the resource id
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThemeResource

public ThemeResource(java.lang.String resourceId)
Create a resource.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Tests if the given object equals this Resource.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to be tested for equality
Returns:
true if the given object equals this Icon, false if not
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getResourceId

public java.lang.String getResourceId()
Get the resource id


getMIMEType

public java.lang.String getMIMEType()
Description copied from interface: Resource
Get the MIME type of the resource.

Specified by:
getMIMEType in interface Resource


Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.