Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: osl ::

class Directory


Base Classes
FileBase (public)
  |  
  +--Directory
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
The directory class object provides a enumeration of DirectoryItems.
See Also
DirectoryItem
File
File
file.hxx

Public Members

Methods


Directory( const ::rtl::OUString & strPath );
Constructor.

~Directory( );
Destructor.
RC
open( );
Open a directory for enumerating its contents.
sal_Bool
isOpen( );
Query if directory is open.
RC
close( );
Close a directory.
RC
reset( );
Resets the directory item enumeration to the beginning.
RC
getNextItem( DirectoryItem & rItem, sal_uInt32 nHint = 0 );
Retrieve the next item of a previously opened directory.

Static Methods

static RC
getVolumeInfo( const ::rtl::OUString & ustrDirectoryURL, VolumeInfo & rInfo );
Retrieve information about a volume.
static RC
create( const ::rtl::OUString & ustrDirectoryURL );
Create a directory.
static RC
remove( const ::rtl::OUString & ustrDirectoryURL );
Remove an empty directory.
static RC
createPath( const ::rtl::OUString & aDirectoryUrl, DirectoryCreationObserver * aDirectoryCreationObserver = NULL );
Create a directory path.

Private Members

Methods


Directory( Directory & );
Copy constructor.
Directory &
operator=( Directory & );
Assignment operator.

Data

oslDirectory _pData;
::rtl::OUString _aPath;

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.