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 resettable `InputStream`.

- - ### Method Detail

    - #### 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` - if there is an error accessing the `InputStream`