1 17 18 19 package org.apache.tomcat; 20 21 import java.io.InputStream ; 22 import java.util.Properties ; 23 24 public class Apr { 25 private static String aprInfo = null; 26 27 static { 28 29 try { 30 InputStream is = Apr.class.getResourceAsStream 31 ("/org/apache/tomcat/apr.properties"); 32 Properties props = new Properties (); 33 props.load(is); 34 is.close(); 35 aprInfo = props.getProperty("tcn.info"); 36 } 37 catch (Throwable t) { 38 ; } 40 } 41 } 42 | Popular Tags |