Search Results
OK to copy?
Examples 1 through 10 of
29 (0.0020 seconds)
Class:
com.technoetic.xplanner.XPlannerProperties
©,
Rating:
0% of 2,
C2
Class: com.technoetic.xplanner.XPlannerProperties ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.db.hibernate.HibernateHelper ©, Rating: 100% of 1, C1
Class: com.technoetic.xplanner.db.hibernate.HibernateHelper ©, Rating: 0% of 0, C1
Class: javax.xml.soap.FactoryFinder ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.ClassPathResource ©, Rating: 100% of 1, C2
Class: org.apache.axis.utils.ClassUtils ©, Rating: 0% of 1, C1
Class: org.apache.axis.utils.ClassUtils ©, Rating: 0% of 0, C1
Class: javax.xml.rpc.FactoryFinder ©, Rating: 0% of 0, C2
41 try {
42 String customPropertyFileName = System.getProperty(OVERRIDES_KEY, OVERRIDES_DEFAULT);
43 InputStream in = XPlannerProperties.class.getClassLoader().getResourceAsStream(customPropertyFileName);
44 if (in != null) {
45 customProperties.load(in);
Class: com.technoetic.xplanner.XPlannerProperties ©, Rating: 0% of 0, C1
20 Properties properties = new Properties();
21 try {
22 InputStream in = XPlannerProperties.class.getClassLoader().getResourceAsStream(FILENAME);
23 if (in != null) {
24 properties.load(in);
Class: com.technoetic.xplanner.db.hibernate.HibernateHelper ©, Rating: 100% of 1, C1
79
80 private static InputStream getMappingStream(String path, Transformer transformer) throws TransformerException {
81 InputStream in = XPlannerInitializationPlugin.class.getClassLoader().getResourceAsStream(path);
82 if (transformer != null) {
83 ByteArrayOutputStream transformedStream = new ByteArrayOutputStream();
Class: com.technoetic.xplanner.db.hibernate.HibernateHelper ©, Rating: 0% of 0, C1
71
72 private static Transformer createTransformer(String path) throws TransformerConfigurationException {
73 InputStream xsltStream = XPlannerInitializationPlugin.class.getClassLoader().getResourceAsStream(path);
74 Source xsltSource = new StreamSource(xsltStream);
75 TransformerFactory tf = TransformerFactory.newInstance();
Class: javax.xml.soap.FactoryFinder ©, Rating: 0% of 0, C2
166 ClassLoader.getSystemResourceAsStream(factoryResource);
167 } else {
168 inputstream = classloader.getResourceAsStream(factoryResource);
169 }
170
Class: org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest ©, Rating: 0% of 0, C1
36 public void testVector() throws IOException {
37 String classname = ClassTest.class.getName().replace('.', '/') + ".class";
38 InputStream is = getClass().getClassLoader().getResourceAsStream(classname);
39 assertNotNull("Unable to find resource " + classname + "in caller classloader");
40 ClassFile clazzfile = new ClassFile(is);
Class: org.springframework.core.io.ClassPathResource ©, Rating: 100% of 1, C2
122 cl = Thread.currentThread().getContextClassLoader();
123 }
124 is = cl.getResourceAsStream(this.path);
125 }
126 if (is == null) {
Class: org.apache.axis.utils.ClassUtils ©, Rating: 0% of 1, C1
223 } else {
224 // Try the system class loader.
225 myInputStream = ClassLoader.getSystemClassLoader().getResourceAsStream(resource);
226 }
227 if (myInputStream == null) {
Class: org.apache.axis.utils.ClassUtils ©, Rating: 0% of 0, C1
220 if(clazz.getClassLoader()!=null) {
221 // Try the class loader that loaded this class.
222 myInputStream = clazz.getClassLoader().getResourceAsStream(resource);
223 } else {
224 // Try the system class loader.
Class: javax.xml.rpc.FactoryFinder ©, Rating: 0% of 0, C2
197 is=ClassLoader.getSystemResourceAsStream( serviceId );
198 } else {
199 is=classLoader.getResourceAsStream( serviceId );
200 }
201