org.apache.any23.extractor.html
Class SpanCloserInputStream
java.lang.Object
java.io.InputStream
org.apache.any23.extractor.html.SpanCloserInputStream
- All Implemented Interfaces:
- Closeable
public class SpanCloserInputStream
- extends InputStream
Extension of InputStream
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)
Method Summary |
int |
read()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpanCloserInputStream
public SpanCloserInputStream(InputStream is)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.