public void dispose() throws TikaException {
        try {
            close();
        } catch (IOException e) {
            throw new TikaException("Failed to close temporary resources", e);
        }
    }
Calls the {@link #close()} method and wraps the potential
{@link IOException} into a {@link TikaException} for convenience
when used within Tika.

@throws TikaException if one or more of the tracked resources
                      could not be closed
tika-core/src/main/java/org/apache/tika/io/TemporaryResources.java