/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.tika.parser.pkg;

import org.apache.tika.metadata.Metadata;

/**
 * Interface for setting options for the {@link CompressorParser} by passing
 * via the {@link ParseContext}.
 */
public interface CompressorParserOptions {

    /**
     * @param metadata document metadata
     * @return whether to decompress concatenated streams or not
     */
    boolean decompressConcatenated(Metadata metadata);
}

Patch for TIKA-1096 CompressorParser: Add support for handling concatenated InputStreams contributed by Gregory Canan.
Patch for TIKA-1096 CompressorParser: Add support for handling concatenated InputStreams contributed by Gregory Canan.

git-svn-id: de575e320ab8ef6bd6941acfb783cdb8d8307cc1@1460100 13f79535-47bb-0310-9956-ffa450edef68
