WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIJARURI

IID:b0922a89-f87b-4cb5-8612-305a285fcca7
Inherits From:nsIURL

JAR URLs have the following syntax

Jar:!/

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

The nsIURL methods operate on the part of the spec.


Properties

AUTF8String JAREntry

Returns the entry specified for this JAR URI (e.g., "ocean.html"). This value may contain %-escaped byte sequences.

readonly nsIURI JARFile

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


Methods

nsIJARURI cloneWithJARFile ( nsIURI jarFile )

nsIJARURI cloneWithJARFile ( nsIURI jarFile )

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

Arguments:
jarFile

References

This interface is returned from the following methods:

nsIJARURI.cloneWithJARFile

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com