#include <nsIFileURL.h>
#include <nsIIOService.h>
#include <nsIURI.h>
#include <nsNetCID.h>
#include <nsNetError.h>
#include <nsStringAPI.h>
#include <nsThreadUtils.h>
#include <sbProxiedComponentManager.h>
Go to the source code of this file.
|
static nsresult | sbGetFileExtensionFromURI (nsIURI *aURI, nsACString &_retval) |
|
static nsresult | sbInvalidateFileURLCache (nsIFileURL *aFileURL) |
|
static nsresult | SB_GetIOService (nsIIOService **aIOService) |
|
static nsresult | SB_NewURI (nsIURI **aURI, const nsACString &aSpec, const char *aCharSet=nsnull, nsIURI *aBaseURI=nsnull) |
|
static nsresult | SB_NewURI (nsIURI **aURI, const nsAString &aSpec, const char *aCharSet=nsnull, nsIURI *aBaseURI=nsnull) |
|
static nsresult | SB_NewURI (nsIURI **aURI, const char *aSpec, nsIURI *aBaseURI=nsnull) |
|
static nsresult SB_GetIOService |
( |
nsIIOService ** |
aIOService | ) |
|
|
inlinestatic |
Return in aIOService the IO service object usable from the current thread. If the current thread is not the main thread, return a main thread proxied IO service object.
- Parameters
-
aIOService | Returned IO service. |
Definition at line 104 of file sbURIUtils.h.
static nsresult SB_NewURI |
( |
nsIURI ** |
aURI, |
|
|
const nsACString & |
aSpec, |
|
|
const char * |
aCharSet = nsnull , |
|
|
nsIURI * |
aBaseURI = nsnull |
|
) |
| |
|
inlinestatic |
Return in aURI a new URI, created using the URI spec, character set, and base URI specified by aSpec, aCharSet, and aBaseURI. This function may be called from any thread, but the returned URI can only be used by the calling thread.
- Parameters
-
aURI | Returned URI. |
aSpec | URI spec. |
aCharSet | URI character set. |
aBaseURI | Base URI. |
Definition at line 139 of file sbURIUtils.h.
static nsresult SB_NewURI |
( |
nsIURI ** |
aURI, |
|
|
const nsAString & |
aSpec, |
|
|
const char * |
aCharSet = nsnull , |
|
|
nsIURI * |
aBaseURI = nsnull |
|
) |
| |
|
inlinestatic |
static nsresult SB_NewURI |
( |
nsIURI ** |
aURI, |
|
|
const char * |
aSpec, |
|
|
nsIURI * |
aBaseURI = nsnull |
|
) |
| |
|
inlinestatic |
static nsresult sbGetFileExtensionFromURI |
( |
nsIURI * |
aURI, |
|
|
nsACString & |
_retval |
|
) |
| |
|
inlinestatic |
static nsresult sbInvalidateFileURLCache |
( |
nsIFileURL * |
aFileURL | ) |
|
|
inlinestatic |