Lines Matching refs:state
65 * flush any internal state to the output buffer. </p></li>
119 * state should, additionally, override the {@link #implFlush implFlush} and
155 private int state = ST_RESET;
552 if ((state != ST_RESET) && (state != ST_CODING)
553 && !(endOfInput && (state == ST_END)))
554 throwIllegalStateException(state, newState);
555 state = newState;
612 * <p> Some $coder$s maintain internal state and may need to write some
649 if (state == ST_END) {
652 state = ST_FLUSHED;
656 if (state != ST_FLUSHED)
657 throwIllegalStateException(state, ST_FLUSHED);
681 * Resets this $coder$, clearing any internal state.
683 * <p> This method resets charset-independent state and also invokes the
692 state = ST_RESET;
697 * Resets this $coder$, clearing any charset-specific internal state.
700 * should be overridden by $coder$s that maintain internal state. </p>
883 if (state == ST_FLUSHED)
885 else if (state != ST_RESET)
886 throwIllegalStateException(state, ST_CODING);
913 * <p> This method may modify this encoder's state; it should therefore not
942 * <p> This method may modify this encoder's state; it should therefore not
968 throw new IllegalStateException("Current state = " + stateNames[from]
969 + ", new state = " + stateNames[to]);