⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fileextension.java

📁 编辑视频文件
💻 JAVA
字号:
/* * File:     FileExtension.java * Project:  MPI Linguistic Application * Date:     02 May 2007 * * Copyright (C) 2001-2007  Max Planck Institute for Psycholinguistics * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */package mpi.eudico.client.annotator.util;/** * A class holding constants for file extension relevant to Elan. * Could be in the Constants class? * * @author Han Sloetjes */public class FileExtension {    /** Known extensions for MPEG-1/MPEG-2 files */    public static final String[] MPEG_EXT = new String[] { "mpg", "mpeg" };    // mpeg, mpg, m1s, m1v, m1a, m75, m15, mp2, mpm, mpv, mpa    /** Known extensions for MPEG-4 files */    public static final String[] MPEG4_EXT = new String[] { "mp4", "mpg4" };    /** Known extensions for QuickTime movie files */    public static final String[] QT_EXT = new String[] { "mov", "qt" };    /** Known extensions for several audio file formats */    public static final String[] MISC_AUDIO_EXT = new String[] {            "au", "snd", "aiff", "aif", "cdda", "cda", "mid", "midi", "mp3",            "wma"        };    /** Known extensions for several video file formats */    public static final String[] MISC_VIDEO_EXT = new String[] {            "avi", "wmv", "wm", "wmp", "asf", "asx", "mov", "qt", "mp4", "mpg4"        };    /** Known extensions for WAVE files */    public static final String[] WAV_EXT = new String[] { "wav" };    /** Known extensions for EAF files */    public static final String[] EAF_EXT = new String[] { "eaf" };    /** Known extensions for Elan Template files */    public static final String[] TEMPLATE_EXT = new String[] { "etf" };    /** Known extensions for Chat files */    public static final String[] CHAT_EXT = new String[] { "cha" };    /** Known extensions for wac files */    public static final String[] WAC_EXT = new String[] { "wac" };    /** Known extensions for (Shoebox) text files */    public static final String[] TEXT_EXT = new String[] { "txt" };    /** Knows extensions for Tiger-Syntax-Corpus files */    public static final String[] TIGER_EXT = new String[] { "tig" };    /** Known extensions for Shoebox typ files */    public static final String[] SHOEBOX_TYP_EXT = new String[] { "typ" };    /** Known extensions for Shoebox marker files */    public static final String[] SHOEBOX_MKR_EXT = new String[] { "mkr" };    /** Known extensions for Transcriber files */    public static final String[] TRANSCRIBER_EXT = new String[] { "trs" };    /** Known extensions for image files */    public static final String[] IMAGE_EXT = new String[] { "jpg", "jpeg", "png" };    /** Known extensions for smil files */    public static final String[] SMIL_EXT = new String[] { "smil" };    /** Known extensions for svg files */    public static final String[] SVG_EXT = new String[] { "svg" };    /** Known extensions for xml files */    public static final String[] XML_EXT = new String[] { "xml" };    /** Known extensions for (cyberglove) log files */    public static final String[] LOG_EXT = new String[] { "log" };    /** Known extensions for html files */    public static final String[] HTML_EXT = new String[] { "html", "htm" };    /** Known extensions for Praat TextGrid files */    public static final String[] PRAAT_TEXTGRID_EXT = new String[] { "TextGrid" };    /** supported media files */    public static final String[] MEDIA_EXT;    static {        MEDIA_EXT = new String[MPEG_EXT.length + WAV_EXT.length];        System.arraycopy(MPEG_EXT, 0, MEDIA_EXT, 0, MPEG_EXT.length);        System.arraycopy(WAV_EXT, 0, MEDIA_EXT, MPEG_EXT.length, WAV_EXT.length);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -