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 of `Purifier` 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 Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `purify​(InputStream inputStream)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WhiteSpacesPurifier

          public WhiteSpacesPurifier()

  - ### Method Detail

    - #### purify

          public void purify​(InputStream inputStream)
                      throws IOException

      Specified by:
        `purify` in interface `org.apache.any23.mime.purifier.Purifier`
      Throws:
        `IOException`