1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 /* 25 * FileTypes.java 26 * 27 * Created on 29. September 2003, 18:52 28 */ 29 package com.sun.star.wizards.web.data; 30 31 /** 32 * 33 * @author rpiterman 34 */ 35 public class TypeDetection 36 { 37 38 /** 39 * a document which will open in writer. 40 */ 41 public final static String WRITER_DOC = "writer"; 42 /** 43 * a document which will open in calc. 44 */ 45 public final static String CALC_DOC = "calc"; 46 /** 47 * a document which will open in impress. 48 */ 49 public final static String IMPRESS_DOC = "impress"; 50 /** 51 * a document which will open in draw. 52 */ 53 public final static String DRAW_DOC = "draw"; 54 /** 55 * an HTML document 56 */ 57 public final static String HTML_DOC = "html"; 58 /** 59 * a GIF or an JPG file. 60 */ 61 public final static String WEB_GRAPHICS = "graphics"; 62 /** 63 * a PDF document. 64 */ 65 public final static String PDF_DOC = "pdf"; 66 /** 67 * a Sound file (mp3/wav ect.) 68 */ 69 public final static String SOUND_FILE = "sound"; 70 /** 71 * a File which can not be handled by neither SO or a Web browser (exe, jar, zip ect.) 72 */ 73 public final static String NO_TYPE = "other"; 74 } 75