summaryrefslogtreecommitdiff
path: root/include/svl/inettype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/inettype.hxx')
-rw-r--r--include/svl/inettype.hxx35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/svl/inettype.hxx b/include/svl/inettype.hxx
index b09261eb0dcd..8f251acae5b9 100644
--- a/include/svl/inettype.hxx
+++ b/include/svl/inettype.hxx
@@ -251,41 +251,6 @@ public:
static bool GetExtensionFromURL(OUString const & rURL, OUString & rExtension);
- /** Parse the body of an RFC 2045 Content-Type header field.
-
- @param pBegin The range (that must be valid) from non-null pBegin,
- inclusive. to non-null pEnd, exclusive, forms the body of the
- Content-Type header field. It must be of the form
-
- token "/" token *(";" token "=" (token / quoted-string))
-
- with intervening linear white space and comments (cf. RFCs 822, 2045).
- The RFC 2231 extension are supported. The encoding of rMediaType
- should be US-ASCII, but any Unicode values in the range U+0080..U+FFFF
- are interpretet 'as appropriate.'
-
- @param pType If not null, returns the type (the first of the above
- tokens), in US-ASCII encoding and converted to lower case.
-
- @param pSubType If not null, returns the sub-type (the second of the
- above tokens), in US-ASCII encoding and converted to lower case.
-
- @param pParameters If not null, returns the parameters as a list of
- INetContentTypeParameters (the attributes are in US-ASCII encoding and
- converted to lower case, the values are in Unicode encoding). If
- null, only the syntax of the parameters is checked, but they are not
- returned.
-
- @return Null if the syntax of the field body is incorrect (i.e., does
- not start with type and sub-type tokens). Otherwise, a pointer past the
- longest valid input prefix. If null is returned, none of the output
- parameters will be modified.
- */
- static sal_Unicode const * scan(
- sal_Unicode const *pBegin, sal_Unicode const * pEnd,
- OUString * pType = 0, OUString * pSubType = 0,
- INetContentTypeParameterList * pParameters = 0);
-
static bool parse(OUString const & rMediaType, OUString & rType,
OUString & rSubType,
INetContentTypeParameterList * pParameters = 0);