nsIDirectoryListing

IID:a465d8ed-3661-483d-a6f1-a82a6bd617b3
Inherits From:nsISupports

This interface allows setting the output format for a directory listing Implementations of this interface should default to html, since that is the lowest common denominator which all places can deal with.


Constants

PRUint32 FORMAT_PREF = 0
Raw format - exactly what comes off the network. It is very unlikely that you want this
PRUint32 FORMAT_RAW = 1
PRUint32 FORMAT_HTML = 2
Application/http-index-format This will end up at the code in xpfe/components/directory so if you explicitly set this, be sure that this dependancy is OK
PRUint32 FORMAT_HTTP_INDEX = 3

Properties

PRUint32 listFormat

The actual format If the given format is not supported, NS_ERROR_FAILURE is returned. The getter for this returns the actual value, having translated FORMAT_PREF into the current pref format

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com