KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > text > bundle > BundleNameHeader


1 /*******************************************************************************
2  * Copyright (c) 2005 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.pde.internal.core.text.bundle;
12
13 import org.eclipse.pde.internal.core.ibundle.IBundle;
14
15 public class BundleNameHeader extends SingleManifestHeader {
16
17     private static final long serialVersionUID = 1L;
18
19     public BundleNameHeader(String JavaDoc name, String JavaDoc value, IBundle bundle,
20             String JavaDoc lineDelimiter) {
21         super(name, value, bundle, lineDelimiter);
22     }
23     
24     public String JavaDoc getBundleName() {
25         return getMainComponent();
26     }
27     
28     public void setBundleName(String JavaDoc name) {
29         setMainComponent(name);
30     }
31
32 }
33
Popular Tags