|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.utils.MediaTypesUtils
public class MediaTypesUtils
Utility class for managing and fetching media types.
Constructor Summary | |
---|---|
MediaTypesUtils()
|
Method Summary | |
---|---|
static java.lang.String |
getCollectionMediaTypeMappings(Registry configSystemRegistry)
Method to obtain the collection media types. |
static java.lang.String |
getCollectionMediaTypeMappings(RegistryContext registryContext)
Method to obtain the collection media types. |
static java.lang.String |
getCustomUIMediaTypeMappings(Registry configSystemRegistry)
Method to obtain the custom UI media types. |
static java.lang.String |
getCustomUIMediaTypeMappings(RegistryContext registryContext)
Method to obtain the custom UI media types. |
static java.lang.String |
getMediaType(java.lang.String resourceName)
Method to obtain the media type of a given resource. |
static java.lang.String |
getResourceMediaTypeMappings(Registry configSystemRegistry)
Method to obtain the resource media types. |
static java.lang.String |
getResourceMediaTypeMappings(RegistryContext registryContext)
Method to obtain the resource media types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MediaTypesUtils()
Method Detail |
---|
public static java.lang.String getCollectionMediaTypeMappings(RegistryContext registryContext) throws RegistryException
registryContext
- the registry context.
RegistryException
- if the operation failed.public static java.lang.String getCollectionMediaTypeMappings(Registry configSystemRegistry) throws RegistryException
configSystemRegistry
- a configuration system registry instance.
RegistryException
- if the operation failed.public static java.lang.String getCustomUIMediaTypeMappings(RegistryContext registryContext) throws RegistryException
registryContext
- the registry context.
RegistryException
- if the operation failed.public static java.lang.String getCustomUIMediaTypeMappings(Registry configSystemRegistry) throws RegistryException
configSystemRegistry
- a configuration system registry instance.
RegistryException
- if the operation failed.public static java.lang.String getResourceMediaTypeMappings(RegistryContext registryContext) throws RegistryException
registryContext
- the registry context.
RegistryException
- if the operation failed.public static java.lang.String getResourceMediaTypeMappings(Registry configSystemRegistry) throws RegistryException
configSystemRegistry
- a configuration system registry instance.
RegistryException
- if the operation failed.public static java.lang.String getMediaType(java.lang.String resourceName) throws RegistryException
resourceName
- the name of the resource.
RegistryException
- if the operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |