#include <UploadedFile.h>


Public Member Functions | |
| UploadedFile () | |
| virtual | ~UploadedFile () |
| virtual std::iostream & | getStream ()=0 throw (IOError) |
| virtual bool | isEmpty () const =0 |
| virtual const std::string & | getName () const =0 |
| void | moveTo (const std::string &path) throw (IOError) |
| virtual const std::string & | mimeType () const =0 |
Protected Member Functions | |
| virtual void | doMoveTo (const std::string &path)=0 throw (IOError) |
Protected Attributes | |
| bool | m_moved |
Definition at line 37 of file UploadedFile.h.
| servlet::UploadedFile::UploadedFile | ( | ) |
Definition at line 24 of file UploadedFile.cpp.
| servlet::UploadedFile::~UploadedFile | ( | ) | [virtual] |
Definition at line 30 of file UploadedFile.cpp.
| virtual void servlet::UploadedFile::doMoveTo | ( | const std::string & | path | ) | throw (IOError) [protected, pure virtual] |
Implemented in container::UploadedFileImpl.
| virtual const std::string& servlet::UploadedFile::getName | ( | ) | const [pure virtual] |
Implemented in container::UploadedFileImpl.
| std::iostream & servlet::UploadedFile::getStream | ( | ) | throw (IOError) [pure virtual] |
Returns iostream refering to data in downloaded file. it may not actually refer to file - it could be implemented as std::stringstream for example.
Implemented in container::UploadedFileImpl.
| virtual bool servlet::UploadedFile::isEmpty | ( | ) | const [pure virtual] |
Implemented in container::UploadedFileImpl.
| virtual const std::string& servlet::UploadedFile::mimeType | ( | ) | const [pure virtual] |
Implemented in container::UploadedFileImpl.
| void servlet::UploadedFile::moveTo | ( | const std::string & | path | ) | throw (IOError) |
Definition at line 34 of file UploadedFile.cpp.
bool servlet::UploadedFile::m_moved [protected] |
Definition at line 41 of file UploadedFile.h.
Referenced by container::UploadedFileImpl::~UploadedFileImpl().