Lines Matching defs:on
40 * <code>digest</code> methods on the associated message
44 * <p>It is possible to turn this stream on or off (see
45 * {@link #on(boolean) on}). When it is on, a call to one of the
47 * an update on the message digest. But when it is off, the message
48 * digest is not updated. The default is for the stream to be on.
57 private boolean on = true;
98 * Updates the message digest (if the digest function is on) using
100 * to the output stream. That is, if the digest function is on
101 * (see {@link #on(boolean) on}), this method calls
102 * <code>update</code> on the message digest associated with this
115 if (on) {
122 * Updates the message digest (if the digest function is on) using
124 * the output stream. That is, if the digest function is on (see
125 * {@link #on(boolean) on}), this method calls <code>update</code>
126 * on the message digest associated with this stream, passing it
145 if (on) {
152 * Turns the digest function on or off. The default is on. When
153 * it is on, a call to one of the <code>write</code> methods results in an
154 * update on the message digest. But when it is off, the message
157 * @param on true to turn the digest function on, false to turn it
160 public void on(boolean on) {
161 this.on = on;