Public Member Functions

nsIAbLDIFService Interface Reference

import "nsIAbLDIFService.idl";

List of all members.

Public Member Functions

boolean isLDIFFile (in nsIFile aSrc)
 Determine if a file is likely to be an LDIF file based on field names that commonly appear in LDIF files.
void importLDIFFile (in nsIAddrDatabase aDb, in nsIFile aSrc, in boolean aStoreLocAsHome, inout unsigned long aProgress)
 Imports a file into the specified address book.

Member Function Documentation

void nsIAbLDIFService::importLDIFFile ( in nsIAddrDatabase  aDb,
in nsIFile  aSrc,
in boolean  aStoreLocAsHome,
inout unsigned long  aProgress 
)

Imports a file into the specified address book.

Parameters:
aDb The address book to import addresses into.
aSrc The file to import addresses from.
aStoreLocAsHome Stores the address as a home rather than work address.
aProgress May be null, but if a pointer is supplied, then it will be updated regularly with the current position of reading from the file.
boolean nsIAbLDIFService::isLDIFFile ( in nsIFile  aSrc  ) 

Determine if a file is likely to be an LDIF file based on field names that commonly appear in LDIF files.

Parameters:
aSrc The file to examine
Returns:
PR_TRUE if the file appears to be of LDIF type, PR_FALSE otherwise

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