1 26 27 package com.opensugar.cube.java2; 28 29 public class PackageHelper { 30 31 public static String getName( Class clazz ) { 32 String className = clazz.getName(); 35 int n = className.lastIndexOf( "." ); 36 return className.substring( 0, n ); 37 } 38 39 public static String getImplementationVendor( String packageName ) { 40 return "???"; 43 } 44 45 public static String getImplementationTitle( String packageName ) { 46 return "???"; 49 } 50 51 public static String getImplementationVersion( String packageName ) { 52 return "???"; 55 } 56 57 public static String getSpecificationTitle( String packageName ) { 58 return "???"; 61 } 62 63 public static String getSpecificationVersion( String packageName ) { 64 return null; 67 } 68 69 } 70 | Popular Tags |