@InterfaceAudience.Public @InterfaceStability.Evolving public interface Resettable
InputStream
, must not implement Resettable.Modifier and Type | Method and Description |
---|---|
void |
mark()
Indicate that the current position should be returned to in the case of
reset() being called. |
void |
reset()
Return to the last marked position, or the beginning of the stream if
mark() has never been called. |
void mark() throws IOException
reset()
being called.IOException
void reset() throws IOException
mark()
has never been called.IOException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.