A FileURLHandlerImpl is an object that implements the services for a file URL that are provided by the base class, URLHandlerImpl
![]() | File (const string& filename) Construct this object |
![]() | getName () const Gets the name of the file |
![]() | getAbsolutePath () const Gets the absolute path of the file |
![]() | getParent () const Gets the Parent directory of the file |
![]() | hasParent () const Checks to see if the file has parent directory |
![]() | isAbsolute () const Checks to see if the filename is an absolute path form (i |
![]() | exists () const Checks to see if the file exists or not |
![]() | isDirectory () const Checks to see if the file exists and is a directory |
![]() | isFile () const Checks to see if the file exists and is not a directory |
![]() | list () const Returns a list of the contents of this directory |
![]() | list (const Filter& filter) const Returns a list of file names after being filtered |
![]() | mkdir () const Create a directory |
![]() | remove () const Deletes this file/i> |
![]() | paramString () const Returns a string representation for File which is used for debugging purposes |
![]() | toLogString () const For logging purpose |
![]() | FileURLHandlerImpl () Constructs this object |
![]() | ~FileURLHandlerImpl () Destroys this object |
![]() | getURLConnection (const URL& url) const Creates a new URL connection and returns it |
A FileURLHandlerImpl is an object that implements the services for a file URL that are provided by the base class, URLHandlerImpl. It initializes a file URL by parsing the a URL string. It creates the URL string from the URL. It creates a URL connection for the file.
string getName() const
string getAbsolutePath() const
string getParent() const
bool hasParent() const
bool isAbsolute() const
bool exists() const
bool isDirectory() const
bool isFile() const
vector
Error : file is not a directory
IOException : unable to open directory vector
Error file is not a directory
IOException if unable to open directory void mkdir() const
IOException bool remove() const
string paramString() const
string toLogString() const
FileURLHandlerImpl()
~FileURLHandlerImpl()
URLConnection getURLConnection(const URL& url) const
FileURLConnectionImpl(const URL& url)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de