Package org.apache.any23.extractor.html
Class SpanCloserInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.any23.extractor.html.SpanCloserInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SpanCloserInputStream extends InputStream
Extension ofInputStream
meant to detect and replace any occurrence of inline span:<span/>
with an open close tag sequence:<span></span>
- Author:
- Michele Mostarda (mostarda@fbk.eu)
-
-
Constructor Summary
Constructors Constructor Description SpanCloserInputStream(InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
SpanCloserInputStream
public SpanCloserInputStream(InputStream is)
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
-