Package org.apache.any23.mime.purifier
Class WhiteSpacesPurifier
- java.lang.Object
-
- org.apache.any23.mime.purifier.WhiteSpacesPurifier
-
- All Implemented Interfaces:
org.apache.any23.mime.purifier.Purifier
public class WhiteSpacesPurifier extends Object implements org.apache.any23.mime.purifier.Purifier
Implementation ofPurifier
that removes all the eventual blank characters at the header of a file that might prevents its MIME Type detection.- Author:
- Davide Palmisano ( dpalmisano@gmail.com )
-
-
Constructor Summary
Constructors Constructor Description WhiteSpacesPurifier()
-
-
-
Method Detail
-
purify
public void purify(InputStream inputStream) throws IOException
- Specified by:
purify
in interfaceorg.apache.any23.mime.purifier.Purifier
- Throws:
IOException
-
-