View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *     http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.apache.tika.mime;
18  
19  /**
20   * Met Keys used by the {@link MimeTypesReader}.
21   */
22  public interface MimeTypesReaderMetKeys {
23  
24      String MIME_INFO_TAG = "mime-info";
25  
26      String MIME_TYPE_TAG = "mime-type";
27  
28      String MIME_TYPE_TYPE_ATTR = "type";
29  
30      String COMMENT_TAG = "_comment";
31  
32      String GLOB_TAG = "glob";
33  
34      String ISREGEX_ATTR = "isregex";
35  
36      String PATTERN_ATTR = "pattern";
37  
38      String MAGIC_TAG = "magic";
39  
40      String ALIAS_TAG = "alias";
41  
42      String ALIAS_TYPE_ATTR = "type";
43  
44      String ROOT_XML_TAG = "root-XML";
45  
46      String SUB_CLASS_OF_TAG = "sub-class-of";
47  
48      String SUB_CLASS_TYPE_ATTR = "type";
49  
50      String MAGIC_PRIORITY_ATTR = "priority";
51  
52      String MATCH_TAG = "match";
53  
54      String MATCH_OFFSET_ATTR = "offset";
55  
56      String MATCH_TYPE_ATTR = "type";
57  
58      String MATCH_VALUE_ATTR = "value";
59  
60      String MATCH_MASK_ATTR = "mask";
61  
62      String NS_URI_ATTR = "namespaceURI";
63  
64      String LOCAL_NAME_ATTR = "localName";
65  
66  }