/*
 * 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.jackrabbit.extractor;

/**
 * Composite text extractor that by default contains the standard
 * text extractors found in this package.
 */
public class DefaultTextExtractor extends CompositeTextExtractor {

    /**
     * Creates the default text extractor by adding instances of the standard
     * text extractors as components.
     */
    public DefaultTextExtractor() {
        addTextExtractor(new PlainTextExtractor());
        addTextExtractor(new XMLTextExtractor());
    }

}

/*
 * 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.jackrabbit.extractor;

/**
 * Composite text extractor that by default contains the standard
 * text extractors found in this package.
 *
 * @deprecated Use {@link TikaTextExtractor} instead
 */
public class DefaultTextExtractor extends TikaTextExtractor {
}

Use Apache Tika for text extraction
JCR-1878: Use Apache Tika for text extraction

Automatically improve any configurations that use DefaultTextExtractor by making that class extend TikaTextExtractor.

git-svn-id: 02b679d096242155780e1604e997947d154ee04a@762813 13f79535-47bb-0310-9956-ffa450edef68
