2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2006-02-06 18:03:11 +00:00
|
|
|
/*
|
|
|
|
**********************************************************************
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (C) 2005-2012, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
2006-02-06 18:03:11 +00:00
|
|
|
**********************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CSRUTF8_H
|
|
|
|
#define __CSRUTF8_H
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
2006-05-09 18:06:10 +00:00
|
|
|
#if !UCONFIG_NO_CONVERSION
|
|
|
|
|
2006-02-06 18:03:11 +00:00
|
|
|
#include "csrecog.h"
|
|
|
|
|
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Charset recognizer for UTF-8
|
|
|
|
*
|
|
|
|
* @internal
|
|
|
|
*/
|
|
|
|
class CharsetRecog_UTF8: public CharsetRecognizer {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
virtual ~CharsetRecog_UTF8();
|
|
|
|
|
|
|
|
const char *getName() const;
|
|
|
|
|
|
|
|
/* (non-Javadoc)
|
|
|
|
* @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
|
|
|
|
*/
|
2012-06-01 20:40:48 +00:00
|
|
|
UBool match(InputText *input, CharsetMatch *results) const;
|
2006-02-06 18:03:11 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
|
2006-05-09 18:06:10 +00:00
|
|
|
#endif
|
2006-02-06 18:03:11 +00:00
|
|
|
#endif /* __CSRUTF8_H */
|