org.jboss.testharness.impl.util
Class Reflections

java.lang.Object
  extended by org.jboss.testharness.impl.util.Reflections

public class Reflections
extends Object

Utility class for static reflection-type operations

Author:
Pete Muir

Constructor Summary
Reflections()
           
 
Method Summary
static Class<?> loadClass(String name)
           
static URL loadResource(String name)
           
static InputStream loadResourceAsStream(String name)
           
static Iterable<URL> loadResources(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflections

public Reflections()
Method Detail

loadResourceAsStream

public static InputStream loadResourceAsStream(String name)

loadResource

public static URL loadResource(String name)

loadClass

public static Class<?> loadClass(String name)

loadResources

public static Iterable<URL> loadResources(String name)
                                   throws IOException
Throws:
IOException


Copyright © 2009-2010. All Rights Reserved.