1 11 package org.eclipse.pde.internal.core.text.bundle; 12 13 import org.eclipse.osgi.service.resolver.VersionRange; 14 import org.eclipse.pde.internal.core.ibundle.IBundle; 15 16 public class BundleVersionHeader extends SingleManifestHeader { 17 18 private static final long serialVersionUID = 1L; 19 20 public BundleVersionHeader(String name, String value, IBundle bundle, String lineDelimiter) { 21 super(name, value, bundle, lineDelimiter); 22 } 23 24 public void setVersionRange(String range) { 25 setMainComponent(range); 26 } 27 28 public VersionRange getVersionRange() { 29 return new VersionRange(getMainComponent()); 30 } 31 32 } 33 | Popular Tags |