public static Map<String,Boolean> getResources( Pattern pattern ) { HashMap<String,Boolean> retval = new HashMap<String,Boolean>(); String classPath = System.getProperty( "java.class.path", "." ); System.out.println(">>>>>>>getResources classPath = "+ classPath); String[] classPathElements = classPath.split( File.pathSeparator ); System.out.println(">>>>>>>classPathElements.length = "+ classPathElements.length); for ( String element : classPathElements ) { getResources( retval, element, pattern ); } return retval; }Reference :
h ttp://sharedderrick.blogspot.com/2010/10/google-blogger-syntaxhighlighter-3083.html
h ttp://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/java.html
沒有留言:
張貼留言