sbIDirectoryImportService Interface Reference

Handles finding media files in directories and adding them to a library or list. More...

import"sbIDirectoryImportService.idl";

Inheritance diagram for sbIDirectoryImportService:
[legend]
Collaboration diagram for sbIDirectoryImportService:
[legend]

Public Member Functions

sbIDirectoryImportJob importWithCustomSnifferAndMetadataScanner (in nsIArray aDirectories, in sbIMediacoreTypeSniffer aSniffer, in sbIFileMetadataService aMetadataScanner, [optional] in sbIMediaList aTargetMediaList, [optional] in PRInt32 aTargetIndex)
 Recursively import from the given directories into the specified media list. More...
 

Public Attributes

 sbIDirectoryImportJob
 Recursively import from the given directories into the specified media list. More...
 

Detailed Description

Handles finding media files in directories and adding them to a library or list.

Definition at line 88 of file sbIDirectoryImportService.idl.

Member Function Documentation

sbIDirectoryImportJob sbIDirectoryImportService::importWithCustomSnifferAndMetadataScanner ( in nsIArray  aDirectories,
in sbIMediacoreTypeSniffer  aSniffer,
in sbIFileMetadataService  aMetadataScanner,
[optional] in sbIMediaList  aTargetMediaList,
[optional] in PRInt32  aTargetIndex 
)

Recursively import from the given directories into the specified media list.

Parameters
aDirectoriesan array of nsIFile paths
aTargetMediaListthe media list into which found items should be loaded (defaults to the main library)
aTargetIndexthe index into the media list where items should be inserted (ignored if aTargetMediaList is not an sbIOrderableMediaList)
aTypeSniffera type sniffer to be used to check whether the imported files are supported

Member Data Documentation

sbIDirectoryImportService::sbIDirectoryImportJob

Recursively import from the given directories into the specified media list.

Parameters
aDirectoriesan array of nsIFile paths
aTargetMediaListthe media list into which found items should be loaded (defaults to the main library)
aTargetIndexthe index into the media list where items should be inserted (ignored if aTargetMediaList is not an sbIOrderableMediaList)

Definition at line 103 of file sbIDirectoryImportService.idl.


The documentation for this interface was generated from the following file: