diff options
author | no-author <no-author@gcc.gnu.org> | 2004-08-16 02:03:01 +0000 |
---|---|---|
committer | no-author <no-author@gcc.gnu.org> | 2004-08-16 02:03:01 +0000 |
commit | 0a7e9b5f196f9e481259fd6c682039058862a0db (patch) | |
tree | 2415e41530f7cbcd050378279d15d11304962625 /libjava/gnu/gcj/convert/UnicodeToBytes.java | |
parent | 5cfd4c5b1b941f7fb3d7ee9cd0f2921efd2eedd6 (diff) |
This commit was manufactured by cvs2svn to create tagcsl-3_3_1-release
'csl-3_3_1-release'.
git-svn-id: https://gcc.gnu.org/svn/gcc/tags/csl-3_3_1-release@86046 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/gcj/convert/UnicodeToBytes.java')
-rw-r--r-- | libjava/gnu/gcj/convert/UnicodeToBytes.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libjava/gnu/gcj/convert/UnicodeToBytes.java b/libjava/gnu/gcj/convert/UnicodeToBytes.java index 8181cb83109..0785d7ea43e 100644 --- a/libjava/gnu/gcj/convert/UnicodeToBytes.java +++ b/libjava/gnu/gcj/convert/UnicodeToBytes.java @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000, 2001 Free Software Foundation +/* Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation This file is part of libgcj. @@ -146,6 +146,17 @@ public abstract class UnicodeToBytes extends IOConverter return write(work, 0, srcEnd - inpos); } + /** + * Returns true when the converter has consumed some bytes that are + * not yet converted to characters because further continuation + * bytes are needed. Defaults to false, should be overridden by + * decoders that internally store some bytes. + */ + public boolean havePendingBytes() + { + return false; + } + /** Indicate that the converter is resuable. * This class keeps track of converters on a per-encoding basis. * When done with an encoder you may call this method to indicate |