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

Framework : PortalBase

Module : PLBbase

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
public static PortalMIMECommand[] getAllMIMECommandsForDescription(String description)
Returns all the PortalMIMECommands that are defined for in the Portal Registry and which have the specified description.
public static 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
public static String getIconPathForExtension(String extension)
Returns the Icon Path declared in the registry for this extension.
public static String getIconPathForMIMETypes(PortalMIMETypes mimeTypes)
Returns the Icon Path declared in the registry for this MIME types.
public static String[] getInstancesNameForType(String type)
Returns all the already instanciated CATlet name that can handle the specified type
public static 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
public static 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
public static PortalMIMETypes getMIMETypesForExtension(String extension)
Returns the MIME type declared in the registry for this extension
public static PortalMIMETypes[] getMIMETypesForOptionalExtension(String extension)
Returns a list of MIME type declared in the registry for this optional extension
public static PortalMIMETypes getMIMETypesForType(String type)
Returns the MIME type declared in the registry for this type
public static String[] getSupportedExtensions()
Returns the list of extension declared and recognized by the PortalRegistry


Field Detail

Constructor Detail

Method Detail

getAllMIMECommandsForDescription

    public static PortalMIMECommand[] getAllMIMECommandsForDescription(String description)

Returns all the PortalMIMECommands that are defined for in the Portal Registry and which have the specified description.

Parameters:
description
- the description of the commands to get
Return:
an array of PortalMIMECommands that have the specified description

getCommandForType

    public static 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

Parameters:
type
- the MIME Type name
desc
- the description of the searched command

getIconPathForExtension

    public static String getIconPathForExtension(String extension)

Returns the Icon Path declared in the registry for this extension.

Parameters:
extension
- the extension string

getIconPathForMIMETypes

    public static String getIconPathForMIMETypes(PortalMIMETypes mimeTypes)

Returns the Icon Path declared in the registry for this MIME types.

Parameters:
mimeTypes
- the sepcified MIME types

getInstancesNameForType

    public static String[] getInstancesNameForType(String type)

Returns all the already instanciated CATlet name that can handle the specified type

Parameters:
type
- the MIME Type name

getInstancesNameForType

    public static 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

Parameters:
type
- the MIME Type name
desc
- the description of the searched command

getMIMECommandForType

    public static 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

Parameters:
type
- the MIME Type name
desc
- the description of the searched command
Return:
PortalMIMECommand

getMIMETypesForExtension

    public static PortalMIMETypes getMIMETypesForExtension(String extension)

Returns the MIME type declared in the registry for this extension

Parameters:
extension
- the extension string
Return:
com.dassault_systemes.catweb.base.net.registry.PortalMIMETypes

getMIMETypesForOptionalExtension

    public static PortalMIMETypes[] getMIMETypesForOptionalExtension(String extension)

Returns a list of MIME type declared in the registry for this optional extension

Parameters:
extension
- the extension string
Return:
an array of PortalMIMETypes.

getMIMETypesForType

    public static PortalMIMETypes getMIMETypesForType(String type)

Returns the MIME type declared in the registry for this type

Parameters:
type
- the MIME Type name
Return:
PortalMIMETypes

getSupportedExtensions

    public static String[] getSupportedExtensions()

Returns the list of extension declared and recognized by the PortalRegistry



Copyright © 2000, Dassault Systèmes. All rights reserved