Method getClassLoader()
Return type: java.lang.ClassLoader
Member of: java.lang.Class
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return new ImageIcon( ImageLoader.class.getClassLoader().getResource( p_file ) );
2 java.beans.Beans.instantiate(this.getClass().getClassLoader(), TestBean.class.getName());
3 ClassLoader loader = this.getClass().getClassLoader();
4 ((URLClassLoader) ImageRepositoryImpl.class.getClassLoader()).getResource(resource);
5 ResourceImageIcon.class.getClassLoader ( ),
6 return Beans.instantiate(beanClass.getClassLoader(), beanName);
7 return ResourceBundleUtil.getResourceValue(DataConverterManager.class.getClassLoader(), resources, key);
8 return NbBundle.getBundle("org.openide.explorer.propertysheet.editors.Bundle2", Locale.getDefault(), ModifierPanel.class.getClassLoader()).getString(key);
9 addResource(binding, resourceName, locale, Localizer.class.getClassLoader());
10 UIManager.put("ClassLoader", getClass().getClassLoader());
11 processJarFile(getClass().getClassLoader(), new File(filename));
12 ClassLoader cl = Statement.class.getClassLoader();
13 if (obj.getClass().getClassLoader() == null && !(obj instanceof MarshalledObject))
14 checkedPath += "Classloader via Class: <"+getClassPathAsString(P6Util.class.getClassLoader())+">\n\n";
15 return fromResource(resourceName, contextClass.getClassLoader());
16 this.sourceLoader = this.getClass().getClassLoader();
17 Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
18 this.cl= this.getClass().getClassLoader();
19 ImageData imageData = new ImageData(this.getClass().getClassLoader().getResourceAsStream("icons/" + s)); //$NON-NLS-1$
20 this.getClass().getClassLoader().getResourceAsStream(config);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.