Public Member Functions | Public Attributes

nsILocalHandlerApp Interface Reference

nsILocalHandlerApp is a local OS-level executable More...

import "nsIMIMEInfo.idl";

Inheritance diagram for nsILocalHandlerApp:
Collaboration diagram for nsILocalHandlerApp:

List of all members.

Public Member Functions

void clearParameters ()
 Clears the current list of command line parameters.
void appendParameter (in AString param)
 Appends a command line parameter to the command line parameter list.
AString getParameter (in unsigned long parameterIndex)
 Retrieves a specific command line parameter.
boolean parameterExists (in AString param)
 Checks to see if a parameter exists in the command line parameter list.

Public Attributes

attribute nsIFile executable
 Pointer to the executable file used to handle content.
readonly attribute unsigned long parameterCount
 Returns the current number of command line parameters.

Detailed Description

nsILocalHandlerApp is a local OS-level executable


Member Function Documentation

void nsILocalHandlerApp::appendParameter ( in AString  param  ) 

Appends a command line parameter to the command line parameter list.

Parameters:
param the parameter to add.
void nsILocalHandlerApp::clearParameters (  ) 

Clears the current list of command line parameters.

AString nsILocalHandlerApp::getParameter ( in unsigned long  parameterIndex  ) 

Retrieves a specific command line parameter.

Parameters:
param the index of the parameter to return.
Returns:
the parameter string.
Exceptions:
NS_ERROR_INVALID_ARG if the index is out of range.
boolean nsILocalHandlerApp::parameterExists ( in AString  param  ) 

Checks to see if a parameter exists in the command line parameter list.

Parameters:
param the parameter to search for.
Returns:
TRUE if the parameter exists in the current list.

Member Data Documentation

Pointer to the executable file used to handle content.

readonly attribute unsigned long nsILocalHandlerApp::parameterCount

Returns the current number of command line parameters.


The documentation for this interface was generated from the following file: