]>
Commit | Line | Data |
---|---|---|
1b2798f6 EK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2007, 2009 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 | * Ferenc Hechler, ferenc_hechler@users.sourceforge.net - 262748 [jar exporter] extract constants for string literals in JarRsrcLoader et al. | |
10 | *******************************************************************************/ | |
11 | package org.eclipse.jdt.internal.jarinjarloader; | |
12 | ||
13 | ||
14 | /** | |
15 | * Constants used in the Jar-in-Jar loader. | |
16 | * | |
17 | * Some of these are duplicated in JIJConstants in the source for the Runnable Jar File Export Wizard: | |
18 | * {@link org.eclipse.jdt.internal.ui.jarpackagerfat}. | |
19 | * | |
20 | * @since 3.6 | |
21 | */ | |
22 | final class JIJConstants { | |
23 | ||
24 | static final String REDIRECTED_CLASS_PATH_MANIFEST_NAME = "Rsrc-Class-Path"; //$NON-NLS-1$ | |
25 | static final String REDIRECTED_MAIN_CLASS_MANIFEST_NAME = "Rsrc-Main-Class"; //$NON-NLS-1$ | |
26 | static final String DEFAULT_REDIRECTED_CLASSPATH = ""; //$NON-NLS-1$ | |
27 | static final String MAIN_METHOD_NAME = "main"; //$NON-NLS-1$ | |
28 | static final String JAR_INTERNAL_URL_PROTOCOL_WITH_COLON = "jar:rsrc:"; //$NON-NLS-1$ | |
29 | static final String JAR_INTERNAL_SEPARATOR = "!/"; //$NON-NLS-1$ | |
30 | static final String INTERNAL_URL_PROTOCOL_WITH_COLON = "rsrc:"; //$NON-NLS-1$ | |
31 | static final String INTERNAL_URL_PROTOCOL = "rsrc"; //$NON-NLS-1$ | |
32 | static final String PATH_SEPARATOR = "/"; //$NON-NLS-1$ | |
33 | static final String CURRENT_DIR = "./"; //$NON-NLS-1$ | |
34 | static final String UTF8_ENCODING = "UTF-8"; //$NON-NLS-1$ | |
35 | } |