org.apache.any23.mime.purifier
Interface Purifier
- All Known Implementing Classes:
- WhiteSpacesPurifier
public interface Purifier
This interface defines a minimum set of methods that
a TikaMIMETypeDetector
could
call in order to clean the input before performing the MIME type
detection.
- Author:
- Davide Palmisano ( dpalmisano@gmail.com )
purify
void purify(InputStream inputStream)
throws IOException
- Performs the purification of the provided resettable
InputStream
.
- Parameters:
inputStream
- a resettable InputStream
to be cleaned.
- Throws:
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.