1 4 package com.tc.admin; 5 6 import com.tc.logging.TCLogging; 7 8 9 public class ProductInfo { 10 private String m_version; 11 private String m_buildID; 12 private String m_license; 13 private String m_copyright; 14 15 public static final String DEFAULT_LICENSE = "Unlimited development"; 16 17 public ProductInfo() { 18 TCLogging.class.toString(); 19 com.tc.util.ProductInfo productInfo = com.tc.util.ProductInfo.getThisProductInfo(); 20 21 m_version = productInfo.rawVersion(); 22 m_buildID = productInfo.toLongString(); 23 m_license = DEFAULT_LICENSE; m_copyright = productInfo.copyright(); 25 } 26 27 public ProductInfo(String version, String buildID, String license, String copyright) { 28 m_version = version; 29 m_buildID = buildID; 30 m_license = license; 31 m_copyright = copyright; 32 } 33 34 public String getVersion() { 35 return m_version; 36 } 37 38 public String getBuildID() { 39 return m_buildID; 40 } 41 42 public String getLicense() { 43 return m_license; 44 } 45 46 public String getCopyright() { 47 return m_copyright; 48 } 49 } 50 | Popular Tags |