Checks if the given character can be encoded by this encoder. Note that this method can change the internal status of this encoder, so it should not be called when another encoding process is ongoing, otherwise it will throw an IllegalStateException . This method can be overridde
(char c)
| 217 | * internal status is neither RESET or FLUSH. |
| 218 | */ |
| 219 | public boolean canEncode(char c) { |
| 220 | return implCanEncode(CharBuffer.wrap(new char[] { c })); |
| 221 | } |
| 222 | |
| 223 | // implementation of canEncode |
| 224 | private boolean implCanEncode(CharBuffer cb) { |
nothing calls this directly
no test coverage detected