@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.IOExceptionvoid reset()
throws IOException
mark() has never been called.IOExceptionCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.