org.semanticdesktop.aperture.subcrawler.mbox
Class FromLineFilterStream

java.lang.Object
  extended by org.semanticdesktop.aperture.subcrawler.mbox.FromLineFilterStream

public class FromLineFilterStream
extends Object

A stream that filters out all occurences of the 'From -' lines. These lines mark the beginning of each message in an mbox file and interfere with the parsing done inside MimeMessage class.

Author:
Antoni

Constructor Summary
FromLineFilterStream(InputStream in)
           
 
Method Summary
 byte[] getNextMessageBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FromLineFilterStream

public FromLineFilterStream(InputStream in)
Method Detail

getNextMessageBytes

public byte[] getNextMessageBytes()
                           throws IOException
Throws:
IOException


Copyright © 2010 Aperture Development Team. All Rights Reserved.