sbURIUtils.h File Reference
#include <nsIFileURL.h>
#include <nsIIOService.h>
#include <nsIURI.h>
#include <nsNetCID.h>
#include <nsNetError.h>
#include <nsStringAPI.h>
#include <nsThreadUtils.h>
#include <sbProxiedComponentManager.h>
Include dependency graph for sbURIUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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)
 

Function Documentation

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
aIOServiceReturned IO service.

Definition at line 104 of file sbURIUtils.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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
aURIReturned URI.
aSpecURI spec.
aCharSetURI character set.
aBaseURIBase URI.

Definition at line 139 of file sbURIUtils.h.

Here is the call graph for this function:

Here is the caller graph for this function:

static nsresult SB_NewURI ( nsIURI **  aURI,
const nsAString &  aSpec,
const char *  aCharSet = nsnull,
nsIURI *  aBaseURI = nsnull 
)
inlinestatic

Definition at line 167 of file sbURIUtils.h.

Here is the call graph for this function:

static nsresult SB_NewURI ( nsIURI **  aURI,
const char *  aSpec,
nsIURI *  aBaseURI = nsnull 
)
inlinestatic

Definition at line 176 of file sbURIUtils.h.

Here is the call graph for this function:

static nsresult sbGetFileExtensionFromURI ( nsIURI *  aURI,
nsACString &  _retval 
)
inlinestatic

Definition at line 41 of file sbURIUtils.h.

Here is the caller graph for this function:

static nsresult sbInvalidateFileURLCache ( nsIFileURL aFileURL)
inlinestatic

Definition at line 73 of file sbURIUtils.h.

Here is the caller graph for this function: