Public Member Functions | Public Attributes

nsIJARURI Interface Reference

JAR URLs have the following syntax. More...

import "nsIJARURI.idl";

Inheritance diagram for nsIJARURI:
Collaboration diagram for nsIJARURI:

List of all members.

Public Member Functions

nsIJARURI cloneWithJARFile (in nsIURI jarFile)
 Create a clone of the JAR URI with a new root URI (the URI for the actual JAR file).

Public Attributes

readonly attribute nsIURI JARFile
 Returns the root URI (the one for the actual JAR file) for this JAR (e.g., http://www.big.com/blue.jar).
attribute AUTF8String JAREntry
 Returns the entry specified for this JAR URI (e.g., "ocean.html").

Detailed Description

JAR URLs have the following syntax.

jar:<jar-file-uri>!/<jar-entry>

EXAMPLE: jar:http://www.big.com/blue.jar!/ocean.html

The nsIURL methods operate on the <jar-entry> part of the spec.


Member Function Documentation

nsIJARURI nsIJARURI::cloneWithJARFile ( in nsIURI  jarFile  ) 

Create a clone of the JAR URI with a new root URI (the URI for the actual JAR file).


Member Data Documentation

attribute AUTF8String nsIJARURI::JAREntry

Returns the entry specified for this JAR URI (e.g., "ocean.html").

This value may contain -escaped byte sequences.

readonly attribute nsIURI nsIJARURI::JARFile

Returns the root URI (the one for the actual JAR file) for this JAR (e.g., http://www.big.com/blue.jar).


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