001/*-------------------------------------------------------------------------+ 002| | 003| Copyright (c) 2005-2018 The ConQAT Project | 004| | 005| Licensed under the Apache License, Version 2.0 (the "License"); | 006| you may not use this file except in compliance with the License. | 007| You may obtain a copy of the License at | 008| | 009| http://www.apache.org/licenses/LICENSE-2.0 | 010| | 011| Unless required by applicable law or agreed to in writing, software | 012| distributed under the License is distributed on an "AS IS" BASIS, | 013| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 014| See the License for the specific language governing permissions and | 015| limitations under the License. | 016| | 017+-------------------------------------------------------------------------*/ 018package org.conqat.lib.commons.filesystem; 019 020/** 021 * String constants for different file extensions. 022 */ 023public class FileExtensions { 024 025 /** Extension for HTML files. */ 026 public static final String DOT_HTML = ".html"; 027 028 /** Extension for JavaScript files. */ 029 public static final String JAVASCRIPT = "js"; 030 031 /** Extension for JavaScript files. */ 032 public static final String DOT_JAVASCRIPT = "." + JAVASCRIPT; 033 034 /** Extension for Soy/Closure template files. */ 035 public static final String SOY = "soy"; 036 037 /** Extension for Soy/Closure template files. */ 038 public static final String DOT_SOY = "." + SOY; 039 040 /** Extension for comma seperated value files. */ 041 public static final String DOT_CSV = ".csv"; 042 043 /** Extension for simple text files. */ 044 public static final String DOT_TXT = ".txt"; 045 046 /** Extension for LaTeX document class files. */ 047 public static final String DOT_CLS = ".cls"; 048 049 /** Extension for AUTOSAR ECU extract files. */ 050 public static final String DOT_ECUEXTRACT = ".ecuextract"; 051 052 /** Extension for AUTOSAR ECU extract variant files. */ 053 public static final String DOT_ECUEXTRACT_VARIANT = ".ecuextract.variant"; 054 055 /** Extension for AUTOSAR configuration XML files. */ 056 public static final String DOT_ARXML = ".arxml"; 057 058 /** Extension for AUTOSAR ECU configuration files. */ 059 public static final String DOT_ECUCONFIG = ".ecuconfig"; 060 061 /** Extension for source map files. */ 062 public static final String DOT_MAP = ".map"; 063 064 /** Extension for JSON files. */ 065 public static final String DOT_JSON = ".json"; 066}