KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > core > util > FileConstants


1 /*
2  * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: FileConstants.java,v 1.3 2007/01/07 06:14:01 bastafidli Exp $
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; version 2 of the License.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */

21
22 package org.opensubsystems.core.util;
23
24 /**
25  * This interface contains commong constants used with file operations.
26  *
27  * @version $Id: FileConstants.java,v 1.3 2007/01/07 06:14:01 bastafidli Exp $
28  * @author Miro Halas
29  * @code.reviewer Miro Halas
30  * @code.reviewed Initial revision
31  */

32 public interface FileConstants
33 {
34    /**
35     * Constant for file extention type. Includes the '.'.
36     */

37    String JavaDoc FILE_EXTENTION_PDF = ".pdf";
38
39    /**
40     * Constant for file extention type. Includes the '.'.
41     */

42    String JavaDoc FILE_EXTENTION_TIF = ".tif";
43
44    /**
45     * Constant for file extention type. Includes the '.'.
46     */

47    String JavaDoc FILE_EXTENTION_JPG = ".jpg";
48
49    /**
50     * Extension in thumbnail filename placed after the name fore the real file
51     * extension.
52     */

53    String JavaDoc FILE_THUMBNAIL_ID_EXTENSION = "_thm";
54    
55    /**
56     * Constant for thumbnail file extention type. Includes the '.'.
57     */

58    String JavaDoc FILE_EXTENTION_THUMBNAIL_JPG
59              = FILE_THUMBNAIL_ID_EXTENSION + FILE_EXTENTION_JPG;
60 }
61
Popular Tags