Package 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 )
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
purify(InputStream inputStream)
Performs the purification of the provided resettableInputStream
.
-
-
-
Method Detail
-
purify
void purify(InputStream inputStream) throws IOException
Performs the purification of the provided resettableInputStream
.- Parameters:
inputStream
- a resettableInputStream
to be cleaned.- Throws:
IOException
- if there is an error accessing theInputStream
-
-