1 28 29 package com.caucho.loader; 30 31 34 public class ClassPackage { 35 private String _prefix; 36 37 private String _specName; 38 private String _specVersion; 39 private String _specVendor; 40 41 private String _implName; 42 private String _implVersion; 43 private String _implVendor; 44 45 public ClassPackage(String name) 46 { 47 if (! name.equals("") && ! name.endsWith("/")) 48 name = name + "/"; 49 50 _prefix = name; 51 } 52 53 56 public String getPrefix() 57 { 58 return _prefix; 59 } 60 61 64 public String getSpecificationTitle() 65 { 66 return _specName; 67 } 68 69 72 public void setSpecificationTitle(String specName) 73 { 74 _specName = specName; 75 } 76 77 80 public String getSpecificationVendor() 81 { 82 return _specVendor; 83 } 84 85 88 public void setSpecificationVendor(String specVendor) 89 { 90 _specVendor = specVendor; 91 } 92 93 96 public String getSpecificationVersion() 97 { 98 return _specVersion; 99 } 100 101 104 public void setSpecificationVersion(String specVersion) 105 { 106 _specVersion = specVersion; 107 } 108 109 112 public String getImplementationTitle() 113 { 114 return _implName; 115 } 116 117 120 public void setImplementationTitle(String implName) 121 { 122 _implName = implName; 123 } 124 125 128 public String getImplementationVendor() 129 { 130 return _implVendor; 131 } 132 133 136 public void setImplementationVendor(String implVendor) 137 { 138 _implVendor = implVendor; 139 } 140 141 144 public String getImplementationVersion() 145 { 146 return _implVersion; 147 } 148 149 152 public void setImplementationVersion(String implVersion) 153 { 154 _implVersion = implVersion; 155 } 156 } 157 | Popular Tags |