|
|
Package com.dassault_systemes.catweb.base.net.registry |
Class PortalRegistry
|
Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catweb.base.net.registry.PortalRegistry
Class Location |
Class Description |
public class PortalRegistry
PortalRegistry offers access to the MIMEtype registry of the applicationimport com.dassault_systemes.catweb.base.util.
Field Summary |
Constructor Summary |
Method Summary |
PortalMIMETypes | getMIMETypesForExtension(String extension) |
PortalMIMETypes[] | getMIMETypesForOptionalExtension(String extension) |
String[] | getSupportedExtensions() |
PortalMIMETypes | getMIMETypesForType(String type) |
String[] | getInstancesNameForType(String type) |
String[] | getInstancesNameForType(String type, String desc) |
String | getCommandForType(String type, String desc) |
PortalMIMECommand | getMIMECommandForType(String type, String desc) |
PortalMIMECommand[] | getAllMIMECommandsForDescription(String description) |
String | getIconPathForMIMETypes(PortalMIMETypes mimeTypes) |
String | getIconPathForExtension(String extension) |
Field Detail |
Constructor Detail |
Method Detail |
PortalMIMETypes getMIMETypesForExtension(String extension)Returns the MIME type declared in the registry for this extension
extension
PortalMIMETypes[] getMIMETypesForOptionalExtension(String extension)Returns a list of MIME type declared in the registry for this optional extension
extension
String[] getSupportedExtensions()Returns the list of extension declared and recognized by the PortalRegistry
PortalMIMETypes getMIMETypesForType(String type)Returns the MIME type declared in the registry for this type
type
String[] getInstancesNameForType(String type)Returns all the already instanciated CATlet name that can handle the specified type
type
String[] getInstancesNameForType(String type, String desc)Returns all instance name of the already instanciated CATlet that can handle the specified type and they have the description desc
type
desc
String getCommandForType(String type, String desc)Returns the command class name for the specified type and description if no description, returns the default command of this type
type
desc
PortalMIMECommand getMIMECommandForType(String type, String desc)Returns the PortalMIMECommand for the specified type and description if no description, returns the default command of this type
type
desc
PortalMIMECommand[] getAllMIMECommandsForDescription(String description)Returns all the PortalMIMECommands that are defined for in the Portal Registry and which have the specified description.
description
String getIconPathForMIMETypes(PortalMIMETypes mimeTypes)Returns the Icon Path declared in the registry for this MIME types.
mimeTypes
String getIconPathForExtension(String extension)Returns the Icon Path declared in the registry for this extension.
extension