KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > util > SuffixConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.util;
12
13 public interface SuffixConstants {
14     public final static String JavaDoc EXTENSION_class = "class"; //$NON-NLS-1$
15
public final static String JavaDoc EXTENSION_CLASS = "CLASS"; //$NON-NLS-1$
16
public final static String JavaDoc EXTENSION_java = "java"; //$NON-NLS-1$
17
public final static String JavaDoc EXTENSION_JAVA = "JAVA"; //$NON-NLS-1$
18

19     public final static String JavaDoc SUFFIX_STRING_class = "." + EXTENSION_class; //$NON-NLS-1$
20
public final static String JavaDoc SUFFIX_STRING_CLASS = "." + EXTENSION_CLASS; //$NON-NLS-1$
21
public final static String JavaDoc SUFFIX_STRING_java = "." + EXTENSION_java; //$NON-NLS-1$
22
public final static String JavaDoc SUFFIX_STRING_JAVA = "." + EXTENSION_JAVA; //$NON-NLS-1$
23

24     public final static char[] SUFFIX_class = SUFFIX_STRING_class.toCharArray();
25     public final static char[] SUFFIX_CLASS = SUFFIX_STRING_CLASS.toCharArray();
26     public final static char[] SUFFIX_java = SUFFIX_STRING_java.toCharArray();
27     public final static char[] SUFFIX_JAVA = SUFFIX_STRING_JAVA.toCharArray();
28     
29     public final static String JavaDoc EXTENSION_jar = "jar"; //$NON-NLS-1$
30
public final static String JavaDoc EXTENSION_JAR = "JAR"; //$NON-NLS-1$
31
public final static String JavaDoc EXTENSION_zip = "zip"; //$NON-NLS-1$
32
public final static String JavaDoc EXTENSION_ZIP = "ZIP"; //$NON-NLS-1$
33

34     public final static String JavaDoc SUFFIX_STRING_jar = "." + EXTENSION_jar; //$NON-NLS-1$
35
public final static String JavaDoc SUFFIX_STRING_JAR = "." + EXTENSION_JAR; //$NON-NLS-1$
36
public final static String JavaDoc SUFFIX_STRING_zip = "." + EXTENSION_zip; //$NON-NLS-1$
37
public final static String JavaDoc SUFFIX_STRING_ZIP = "." + EXTENSION_ZIP; //$NON-NLS-1$
38

39     public final static char[] SUFFIX_jar = SUFFIX_STRING_jar.toCharArray();
40     public final static char[] SUFFIX_JAR = SUFFIX_STRING_JAR.toCharArray();
41     public final static char[] SUFFIX_zip = SUFFIX_STRING_zip.toCharArray();
42     public final static char[] SUFFIX_ZIP = SUFFIX_STRING_ZIP.toCharArray();
43 }
44
Popular Tags