01: /*******************************************************************************
02: * Copyright (c) 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.core.text.bundle;
11:
12: import org.eclipse.pde.internal.core.ibundle.IBundle;
13:
14: public class BundleClasspathHeader extends CompositeManifestHeader {
15:
16: private static final long serialVersionUID = 1L;
17:
18: public BundleClasspathHeader(String name, String value,
19: IBundle bundle, String lineDelimiter) {
20: super (name, value, bundle, lineDelimiter);
21: }
22:
23: public void addLibrary(String name) {
24: addManifestElement(name);
25: }
26:
27: /**
28: * @param name
29: * @param index
30: */
31: public void addLibrary(String name, int index) {
32: addManifestElement(name, index);
33: }
34:
35: public void removeLibrary(String name) {
36: removeManifestElement(name);
37: }
38:
39: }
|