VCF::MIMEType Class Reference
Specification for this MIME Types may be found at RFC 2045
http://www.faqs.org/rfcs/rfc2045.html.
More...
#include <vcf/FoundationKit/MIMEType.h>
List of all members.
Detailed Description
Specification for this MIME Types may be found at RFC 2045
http://www.faqs.org/rfcs/rfc2045.html.
This is a simple class that makes it easy to deal with strings that signify mime-type information.
Member Typedef Documentation
Constructor & Destructor Documentation
| VCF::MIMEType::MIMEType |
( |
|
) |
|
|
| VCF::MIMEType::MIMEType |
( |
const String & |
data |
) |
|
|
| VCF::MIMEType::MIMEType |
( |
const String & |
type, |
|
|
const String & |
subType |
|
) |
|
|
| VCF::MIMEType::MIMEType |
( |
const String & |
type, |
|
|
const String & |
subType, |
|
|
const std::vector< Parameter > & |
parameters |
|
) |
|
|
Member Function Documentation
| static String VCF::MIMEType::canonicalValue |
( |
const String & |
value |
) |
[static, protected] |
|
| bool VCF::MIMEType::compare |
( |
const MIMEType & |
rhs |
) |
const [protected] |
|
| std::vector<Parameter> VCF::MIMEType::getParameters |
( |
|
) |
const |
|
| String VCF::MIMEType::getSubType |
( |
|
) |
const |
|
| String VCF::MIMEType::getType |
( |
|
) |
const |
|
| bool VCF::MIMEType::isApplicationType |
( |
|
) |
const |
|
| bool VCF::MIMEType::isAudioType |
( |
|
) |
const |
|
| bool VCF::MIMEType::isEmpty |
( |
|
) |
const [inline] |
|
|
|
returns true if the mimetype is empty, or has no data.
If this returns true, then any of the data retreival functions (getType(), getSubType()) will return empty strings ("") or no data. |
| bool VCF::MIMEType::isImageType |
( |
|
) |
const |
|
| bool VCF::MIMEType::isTextType |
( |
|
) |
const |
|
| bool VCF::MIMEType::isVideoType |
( |
|
) |
const |
|
| VCF::MIMEType::operator String |
( |
|
) |
const [inline] |
|
| bool VCF::MIMEType::operator!= |
( |
const MIMEType & |
rhs |
) |
const [inline] |
|
| bool VCF::MIMEType::operator== |
( |
const MIMEType & |
rhs |
) |
const [inline] |
|
| static void VCF::MIMEType::registerExtension |
( |
const String & |
extension, |
|
|
const String & |
mimeType |
|
) |
[static] |
|
| void VCF::MIMEType::setFromFileName |
( |
const FilePath & |
fileName |
) |
[protected] |
|
| void VCF::MIMEType::setFromFileName |
( |
const String & |
fileName |
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file: