• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 The Android Open Source Project
3  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5  *
6  * This code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 only, as
8  * published by the Free Software Foundation.  Oracle designates this
9  * particular file as subject to the "Classpath" exception as provided
10  * by Oracle in the LICENSE file that accompanied this code.
11  *
12  * This code is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15  * version 2 for more details (a copy is included in the LICENSE file that
16  * accompanied this code).
17  *
18  * You should have received a copy of the GNU General Public License version
19  * 2 along with this work; if not, write to the Free Software Foundation,
20  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21  *
22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23  * or visit www.oracle.com if you need additional information or have any
24  * questions.
25  */
26 
27 // -- This file was mechanically generated: Do not edit! -- //
28 
29 
30 package java.nio.charset;
31 
32 import java.nio.CharBuffer;
33 import java.nio.ByteBuffer;
34 import java.nio.Buffer;
35 import java.nio.charset.CoderMalfunctionError;
36 
37 @SuppressWarnings({"unchecked", "deprecation", "all"})
38 public abstract class CharsetDecoder {
39 
40 @libcore.api.IntraCoreApi
CharsetDecoder(java.nio.charset.Charset cs, float averageCharsPerByte, float maxCharsPerByte)41 protected CharsetDecoder(java.nio.charset.Charset cs, float averageCharsPerByte, float maxCharsPerByte) { throw new RuntimeException("Stub!"); }
42 
charset()43 public final java.nio.charset.Charset charset() { throw new RuntimeException("Stub!"); }
44 
replacement()45 public final java.lang.String replacement() { throw new RuntimeException("Stub!"); }
46 
replaceWith(java.lang.String newReplacement)47 public final java.nio.charset.CharsetDecoder replaceWith(java.lang.String newReplacement) { throw new RuntimeException("Stub!"); }
48 
implReplaceWith(java.lang.String newReplacement)49 protected void implReplaceWith(java.lang.String newReplacement) { throw new RuntimeException("Stub!"); }
50 
malformedInputAction()51 public java.nio.charset.CodingErrorAction malformedInputAction() { throw new RuntimeException("Stub!"); }
52 
onMalformedInput(java.nio.charset.CodingErrorAction newAction)53 public final java.nio.charset.CharsetDecoder onMalformedInput(java.nio.charset.CodingErrorAction newAction) { throw new RuntimeException("Stub!"); }
54 
implOnMalformedInput(java.nio.charset.CodingErrorAction newAction)55 protected void implOnMalformedInput(java.nio.charset.CodingErrorAction newAction) { throw new RuntimeException("Stub!"); }
56 
unmappableCharacterAction()57 public java.nio.charset.CodingErrorAction unmappableCharacterAction() { throw new RuntimeException("Stub!"); }
58 
onUnmappableCharacter(java.nio.charset.CodingErrorAction newAction)59 public final java.nio.charset.CharsetDecoder onUnmappableCharacter(java.nio.charset.CodingErrorAction newAction) { throw new RuntimeException("Stub!"); }
60 
implOnUnmappableCharacter(java.nio.charset.CodingErrorAction newAction)61 protected void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction newAction) { throw new RuntimeException("Stub!"); }
62 
averageCharsPerByte()63 public final float averageCharsPerByte() { throw new RuntimeException("Stub!"); }
64 
maxCharsPerByte()65 public final float maxCharsPerByte() { throw new RuntimeException("Stub!"); }
66 
decode(java.nio.ByteBuffer in, java.nio.CharBuffer out, boolean endOfInput)67 public final java.nio.charset.CoderResult decode(java.nio.ByteBuffer in, java.nio.CharBuffer out, boolean endOfInput) { throw new RuntimeException("Stub!"); }
68 
flush(java.nio.CharBuffer out)69 public final java.nio.charset.CoderResult flush(java.nio.CharBuffer out) { throw new RuntimeException("Stub!"); }
70 
implFlush(java.nio.CharBuffer out)71 protected java.nio.charset.CoderResult implFlush(java.nio.CharBuffer out) { throw new RuntimeException("Stub!"); }
72 
reset()73 public final java.nio.charset.CharsetDecoder reset() { throw new RuntimeException("Stub!"); }
74 
implReset()75 protected void implReset() { throw new RuntimeException("Stub!"); }
76 
decodeLoop(java.nio.ByteBuffer in, java.nio.CharBuffer out)77 protected abstract java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in, java.nio.CharBuffer out);
78 
decode(java.nio.ByteBuffer in)79 public final java.nio.CharBuffer decode(java.nio.ByteBuffer in) throws java.nio.charset.CharacterCodingException { throw new RuntimeException("Stub!"); }
80 
isAutoDetecting()81 public boolean isAutoDetecting() { throw new RuntimeException("Stub!"); }
82 
isCharsetDetected()83 public boolean isCharsetDetected() { throw new RuntimeException("Stub!"); }
84 
detectedCharset()85 public java.nio.charset.Charset detectedCharset() { throw new RuntimeException("Stub!"); }
86 }
87 
88