1 11 package org.eclipse.pde.internal.core.text.bundle; 12 13 import java.io.PrintWriter ; 14 15 import org.eclipse.pde.internal.core.bundle.BundleObject; 16 17 public class PackageFriend extends BundleObject { 18 19 private static final long serialVersionUID = 1L; 20 21 private String fName; 22 23 private transient PackageObject fPackageObject; 24 25 public PackageFriend(PackageObject object, String name) { 26 fName = name; 27 fPackageObject = object; 28 } 29 30 public String getName() { 31 return fName; 32 } 33 34 public String toString() { 35 return fName; 36 } 37 38 public ManifestHeader getHeader() { 39 return fPackageObject.getHeader(); 40 } 41 42 45 public void reconnect(PackageObject object) { 46 fPackageObject = object; 47 } 48 49 52 public void writeDelimeter(PrintWriter writer) { 53 writer.print(','); 54 } 55 56 } 57 | Popular Tags |