WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIAbLDIFService
| IID: | 7afaa95f-0b1c-4d8a-a65f-bb5073ed6d39 |
| Inherits From: | nsISupports |
Methods
void importLDIFFile ( nsIAddrDatabase db , nsIFile src , PRBool storeLocAsHome , inout PRUint32 progress )
PRBool isLDIFFile ( nsIFile src )
void importLDIFFile ( nsIAddrDatabase db , nsIFile src , PRBool storeLocAsHome , inout PRUint32 progress )
Imports a file into the specified address book.
- Arguments:
- db: The address book to import addresses into.
- src: The file to import addresses from.
- storeLocAsHome: Stores the address as a home rather than work address.
- progress: May be null, but if a pointer is supplied, then it will be updated regularly with the current position of reading from the file.
PRBool isLDIFFile ( nsIFile src )
Determine if a file is likely to be an LDIF file based on field names that commonly appear in LDIF files.
- Arguments:
- src: The file to examine
- Returns:
- PR_TRUE if the file appears to be of LDIF type, PR_FALSE otherwise
Reference documentation is generated from Mozilla's source.
