Search Results
OK to copy?
Examples 1 through 10 of
18 (0.257 seconds)
Class:
org.apache.catalina.util.ServerInfo
©,
Rating:
0% of 0,
C1
Class: org.apache.catalina.util.CharsetMapper ©, Rating: 0% of 0, C1
Class: org.apache.catalina.startup.CatalinaProperties ©, Rating: 0% of 0, C3
Class: org.springframework.core.io.ClassPathResource ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.resources.PackageTest ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.resources.PackageTest ©, Rating: 0% of 0, C1
Class: org.apache.jasper.xmlparser.ParserUtils ©, Rating: 0% of 0, C2
Class: org.apache.axis.utils.ClassUtils ©, Rating: 0% of 0, C1
Class: org.apache.axis.handlers.soap.SOAPService ©, Rating: 0% of 0, C2
Class: org.apache.axis.utils.bytecode.ClassReader ©, Rating: 0% of 0, C2
45
46 try {
47 InputStream is = ServerInfo.class.getResourceAsStream
48 ("/org/apache/catalina/util/ServerInfo.properties");
49 Properties props = new Properties();
Class: org.apache.catalina.util.CharsetMapper ©, Rating: 0% of 0, C1
080
081 try {
082 InputStream stream =
083 this.getClass().getResourceAsStream(name);
084 map.load(stream);
Class: org.apache.catalina.startup.CatalinaProperties ©, Rating: 0% of 0, C3
105 if (is == null) {
106 try {
107 is = CatalinaProperties.class.getResourceAsStream
108 ("/org/apache/catalina/startup/catalina.properties");
109 } catch (Throwable t) {
Class: org.springframework.core.io.ClassPathResource ©, Rating: 0% of 0, C2
114 InputStream is = null;
115 if (this.clazz != null) {
116 is = this.clazz.getResourceAsStream(this.path);
117 }
118 else {
Class: org.apache.jmeter.resources.PackageTest ©, Rating: 0% of 0, C2
071 private void readRF(String res, List l) throws Exception
072 {
073 InputStream ras = this.getClass().getResourceAsStream(res);
074 BufferedReader fileReader =
075 new BufferedReader(new InputStreamReader(ras));
Class: org.apache.jmeter.resources.PackageTest ©, Rating: 0% of 0, C1
064 // Read resource into ResourceBundle and store in List
065 private PropertyResourceBundle getRAS(String res) throws Exception{
066 InputStream ras = this.getClass().getResourceAsStream(res);
067 return new PropertyResourceBundle(ras);
068 }
Class: org.apache.jasper.xmlparser.ParserUtils ©, Rating: 0% of 0, C2
183 if (cachedDtdPublicId.equals(publicId)) {
184 String resourcePath = Constants.CACHED_DTD_RESOURCE_PATHS[i];
185 InputStream input =
186 this.getClass().getResourceAsStream(resourcePath);
187 if (input == null) {
Class: org.apache.axis.utils.ClassUtils ©, Rating: 0% of 0, C1
227 if (myInputStream == null) {
228 // if not found in classpath fall back to default
229 myInputStream = clazz.getResourceAsStream(resource);
230 }
231 return myInputStream;
Class: org.apache.axis.handlers.soap.SOAPService ©, Rating: 0% of 0, C2
387 } else {
388 //else load a named resource in our classloader.
389 instream = this.getClass().getResourceAsStream(filename);
390 if (instream == null) {
391 String errorText=Messages.getMessage("wsdlFileMissing",filename);
Class: org.apache.axis.utils.bytecode.ClassReader ©, Rating: 0% of 0, C2
118 */
119 protected static byte[] getBytes(Class c) throws IOException {
120 InputStream fin = c.getResourceAsStream('/' + c.getName().replace('.', '/') + ".class");
121 if (fin == null) {
122 throw new IOException(