Bug 1842999 - Part 25: Support testing elements are present in resizable typed arrays...
[gecko.git] / modules / libjar / nsIJARURI.idl
blob702e587159893047cc4744f4c155f9a01c34bef1
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsIURL.idl"
9 /**
10 * JAR URLs have the following syntax
12 * jar:<jar-file-uri>!/<jar-entry>
14 * EXAMPLE: jar:http://www.big.com/blue.jar!/ocean.html
16 * The nsIURL methods operate on the <jar-entry> part of the spec.
18 [scriptable, builtinclass, uuid(646a508c-f786-4e14-be6d-8dda2a633c60)]
19 interface nsIJARURI : nsIURL {
21 /**
22 * Returns the root URI (the one for the actual JAR file) for this JAR
23 * (e.g., http://www.big.com/blue.jar).
25 readonly attribute nsIURI JARFile;
27 /**
28 * Returns the entry specified for this JAR URI (e.g., "ocean.html"). This
29 * value may contain %-escaped byte sequences.
31 readonly attribute AUTF8String JAREntry;
34 [uuid(d66df117-eda7-4324-b4e4-1f670ff6718e)]
35 interface nsIJARURIMutator : nsISupports
37 /**
38 * Will initialize a URI using the passed spec, baseURI and charset.
40 void setSpecBaseCharset(in AUTF8String aSpec, in nsIURI aBase, in string aCharset);