|
|
Clear ()
|
/** Clears all the entries from this registry */
|
|
|
CHARACTER Get (character)
|
/** Returns a registered type, if it exists. returns null otherwise.
@param character The name of the content type to register
@return character A valid value if it exists. Null otherwise .*/
|
|
|
CHARACTER GetKeys ()
|
/** Returns an array of the key names in this registry.
@return character[] The key values. Indeterminate array if empty. */
|
|
|
CHARACTER GetKeys (character)
|
/** Returns an array of the file extensions types in this registry, for the given mime type.
@param character The mime-type. ? and * = all; empty = application/octet-stream; otherwise the input value is used
@return character[] The file extensions. Indeterminate array if empty. */
|
|
|
LOGICAL Has (character)
|
/** Indicates whether a content type is registered or not.
@param character The name of the content type to register
@return logical True if the content type is registered */
|
|
|
InitializeRegistry (FileTypeRegistry)
|
/** Adds initial values into the registry
@param BuilderRegistry The registry to populate */
|
|
|
LOGICAL Put (character, character)
|
/** Registers type for a key
@param character The key of the file extension to register
@param character The mime type of the file content for a file with the extension
@return logical True if the type was previously registered */
|
|
|
LOGICAL Remove (character)
|
/** Deregisters a content type writer
@param character The name of the content type to register
@return logical True if the content type was previously registered */
|