org.apache.any23.extractor.html
Class SpanCloserInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by 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)

Constructor Summary
SpanCloserInputStream(InputStream is)
           
 
Method Summary
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanCloserInputStream

public SpanCloserInputStream(InputStream is)
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.