import "sbILibraryUtils.idl";
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. |
Definition at line 43 of file sbILibraryUtils.idl.
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.
aURI | URI for which to get 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.
aFile | File for which to get content URI. |