Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
FileBase (public) | +--Directory
virtual | abstract | interface | template |
NO | NO | NO | NO |
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. |
Methods |
|
Directory( Directory & ); |
Copy constructor. |
Directory & operator=( Directory & ); |
Assignment operator. |
Data |
|
oslDirectory _pData; | |
::rtl::OUString _aPath; |
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.