public void setMaximumCompressionRatio(long maximumCompressionRatio) {
        this.maximumCompressionRatio = maximumCompressionRatio;
    }
Creates a SecureContentHandlerConfig using the passed in parameters.

@param spoolToDisk
@param outputThreshold          SecureContentHandler - character output threshold.
@param maximumCompressionRatio  SecureContentHandler - max compression ratio allowed.
@param maximumDepth             SecureContentHandler - maximum XML element nesting level.
@param maximumPackageEntryDepth SecureContentHandler - maximum package entry nesting level.
tika-core/src/main/java/org/apache/tika/parser/AutoDetectParserConfig.java