public class InputStreamMarker
extends java.lang.Object
Constructor and Description |
---|
InputStreamMarker(java.io.InputStream stream)
Create an
InputStreamMarker for a supplied input stream |
Modifier and Type | Method and Description |
---|---|
static java.io.InputStream |
ensureMarkSupported(java.io.InputStream stream)
Return this stream if its position can be marked, or an enclosing Stream if not
|
boolean |
isMarkSupported() |
void |
mark(int readLimit) |
void |
reset() |
public InputStreamMarker(java.io.InputStream stream)
InputStreamMarker
for a supplied input streamstream
- the supplied input streampublic static java.io.InputStream ensureMarkSupported(java.io.InputStream stream)
stream
- the supplied streampublic boolean isMarkSupported()
public void mark(int readLimit)
public void reset() throws java.io.IOException
java.io.IOException
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.