public class SearchableInputStream extends InputStream
Constructor and Description |
---|
SearchableInputStream(InputStream stream,
String pattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getSearchFailed()
Returns true if the search failed.
|
int |
read() |
available, close, mark, markSupported, read, read, reset, skip
public SearchableInputStream(InputStream stream, String pattern)
stream
- original input streampattern
- pattern to locatepublic int read() throws IOException
read
in class InputStream
IOException
public boolean getSearchFailed()
Copyright © 2000–2024 Packwood Software. All rights reserved.