OpenJDK / openjfx / 8 / master / rt
view modules/web/src/main/native/Source/WebCore/platform/java/TextCodecJava.h @ 5976:94331ac42150
RT-25869: Update copyright year in header of modified source code files to 2013
Reviewed-by: Mong Hang Vo
author | kcr |
---|---|
date | Mon, 23 Dec 2013 13:46:39 -0800 |
parents | bcd662ba5826 |
children |
line wrap: on
line source
/* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. */ #ifndef TextCodecJava_h #define TextCodecJava_h #include "TextCodec.h" #include "TextEncoding.h" #include "JavaEnv.h" namespace WebCore { class TextCodecJava : public TextCodec { public: static void registerEncodingNames(EncodingNameRegistrar); static void registerCodecs(TextCodecRegistrar); TextCodecJava(const TextEncoding&); virtual ~TextCodecJava(); virtual String decode(const char*, size_t length, bool flush, bool stopOnError, bool& sawError); virtual CString encode( const UChar*, size_t length, UnencodableHandling); private: TextEncoding m_encoding; jobject m_codec; }; } #endif