|
|||||||||
| Home >> All >> com >> opencms >> [ file overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.file
Class CmsResourceType

java.lang.Objectcom.opencms.file.CmsResourceType
- All Implemented Interfaces:
- com.opencms.core.I_CmsConstants, java.io.Serializable
- public class CmsResourceType
- extends java.lang.Object
- implements com.opencms.core.I_CmsConstants, java.io.Serializable
- extends java.lang.Object
Describes a resource-type. To determine the special launcher for a resource this resource-type is needed.
- Version:
- $Revision: 1.15 $ $Date: 2003/04/01 15:20:18 $
| Field Summary | |
private java.lang.String |
m_launcherClass
The class name of the Java class launched by the launcher. |
private int |
m_launcherType
The id of the launcher used by this resource. |
private int |
m_resourceType
The id of resource type. |
private java.lang.String |
m_resourceTypeName
The resource type name. |
| Constructor Summary | |
CmsResourceType(int resourceType,
int launcherType,
java.lang.String resourceTypeName,
java.lang.String launcherClass)
Constructor, creates a new CmsResourceType object. |
|
| Method Summary | |
java.lang.String |
getLauncherClass()
Returns the name of the Java class loaded by the launcher. |
int |
getLauncherType()
Returns the launcher type needed for this resource-type. |
java.lang.String |
getResourceName()
Returns the name for this resource-type. |
int |
getResourceType()
Returns the type of this resource-type. |
java.lang.String |
toString()
Returns a string-representation for this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_resourceType
private int m_resourceType
- The id of resource type.
m_launcherType
private int m_launcherType
- The id of the launcher used by this resource.
m_resourceTypeName
private java.lang.String m_resourceTypeName
- The resource type name.
m_launcherClass
private java.lang.String m_launcherClass
- The class name of the Java class launched by the launcher.
| Constructor Detail |
CmsResourceType
public CmsResourceType(int resourceType,
int launcherType,
java.lang.String resourceTypeName,
java.lang.String launcherClass)
- Constructor, creates a new CmsResourceType object.
| Method Detail |
getLauncherClass
public java.lang.String getLauncherClass()
- Returns the name of the Java class loaded by the launcher.
This method returns null if the default class for this type is used.
getLauncherType
public int getLauncherType()
- Returns the launcher type needed for this resource-type.
getResourceName
public java.lang.String getResourceName()
- Returns the name for this resource-type.
getResourceType
public int getResourceType()
- Returns the type of this resource-type.
toString
public java.lang.String toString()
- Returns a string-representation for this object.
This can be used for debugging.
|
|||||||||
| Home >> All >> com >> opencms >> [ file overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.opencms.file.CmsResourceType