Songbird / Development / Songbird Add-Ons API Documentation

sbILibraryUtils Interface Reference

Set of library utilities. More...

import "sbILibraryUtils.idl";

List of all members.

Public Member Functions

nsIURI getContentURI (in nsIURI aURI)
 Return a library content URI for the URI specified by aURI. A library content URI is a specially formatted URI for use within Songbird libraries and is formatted to facilitate searching for equivalent URI's (e.g., "file:" URI's are all lower case on Windows). URI's provided to createMediaItem and related methods must be library content URI's.
nsIURI getFileContentURI (in nsIFile aFile)
 Return a library content URI for the file specified by aFile. Special processing is required to convert an nsIFile to a library content URI (see bug 6227). getFileContentURI must be used instead of nsIIOService.newFileURI for generating library content URI's.


Detailed Description

Set of library utilities.

Definition at line 43 of file sbILibraryUtils.idl.


Member Function Documentation

nsIURI sbILibraryUtils::getContentURI ( in nsIURI  aURI  ) 

Return a library content URI for the URI specified by aURI. A library content URI is a specially formatted URI for use within Songbird libraries and is formatted to facilitate searching for equivalent URI's (e.g., "file:" URI's are all lower case on Windows). URI's provided to createMediaItem and related methods must be library content URI's.

Parameters:
aURI URI for which to get content URI.
Returns:
Library content URI.

nsIURI sbILibraryUtils::getFileContentURI ( in nsIFile  aFile  ) 

Return a library content URI for the file specified by aFile. Special processing is required to convert an nsIFile to a library content URI (see bug 6227). getFileContentURI must be used instead of nsIIOService.newFileURI for generating library content URI's.

Parameters:
aFile File for which to get content URI.
Returns:
Library content URI.


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:28:59 2009 for Songbird by  doxygen 1.5.2