Lines Matching defs:state
43 * returned to indicate the current state. The caller should fill the input buffer, flush
70 * encoding. If a subclass maintains internal state, it should also override the
91 private String state = RESET;
162 * <p>Note that this method may change the internal state of this encoder, so
176 * <p>Note that this method may change the internal state of this encoder, so
190 if (state == FLUSHED) {
193 if (state != RESET) {
257 while (state != FLUSHED) {
359 if (state != RESET && state != ONGOING && !(endOfInput && state == END_OF_INPUT)) {
363 state = endOfInput ? END_OF_INPUT : ONGOING;
461 if (state != FLUSHED && state != END_OF_INPUT) {
466 state = FLUSHED;
521 * Resets this encoder's charset related state. The default implementation
651 * Resets this encoder. This method will reset the internal state and then
652 * calls {@link #implReset} to reset any state related to the
656 state = RESET;
670 throw new IllegalStateException("State: " + state);