version 1.7, 2004/10/17 20:39:17
|
version 1.10, 2005/05/30 13:07:10
|
|
|
//%2004//////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; | // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
// Author: Humberto Rivero (hurivero@us.ibm.com) | // Author: Humberto Rivero (hurivero@us.ibm.com) |
// | // |
// Modified By: |
// Modified By: Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3697 |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
* them in an array. | * them in an array. |
* @param values Array<String>& where the individual fields are stored | * @param values Array<String>& where the individual fields are stored |
* @param hdr String the value portion of the HTTP Accept/ContentLanguage header | * @param hdr String the value portion of the HTTP Accept/ContentLanguage header |
|
* this parameter is passed as object intentionally |
*/ | */ |
void parseHdr(Array<String> &values, String & hdr); |
void parseHdr(Array<String> &values, String hdr); |
| |
/** Parses an AcceptLanguage or ContentLanguage value from a header. | /** Parses an AcceptLanguage or ContentLanguage value from a header. |
* If a valid AcceptLanguage value is determined to contain a quality | * If a valid AcceptLanguage value is determined to contain a quality |