org.dcm4che2.data
Class ResourceLocator

java.lang.Object
  extended by org.dcm4che2.data.ResourceLocator

public class ResourceLocator
extends java.lang.Object


Constructor Summary
ResourceLocator()
           
 
Method Summary
static java.lang.Object createInstance(java.lang.String name)
           
static void createResource(java.lang.String name, java.lang.Object o, java.io.File out)
           
static java.util.List<java.lang.String> findResources(java.lang.Class<?> c)
           
static java.lang.Class<?> loadClass(java.lang.String name)
           
static java.lang.Object loadResource(java.lang.String name)
           
static void serializeTo(java.lang.Object o, java.io.File out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLocator

public ResourceLocator()
Method Detail

findResources

public static java.util.List<java.lang.String> findResources(java.lang.Class<?> c)

createInstance

public static java.lang.Object createInstance(java.lang.String name)

loadClass

public static java.lang.Class<?> loadClass(java.lang.String name)
                                    throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

loadResource

public static java.lang.Object loadResource(java.lang.String name)

createResource

public static void createResource(java.lang.String name,
                                  java.lang.Object o,
                                  java.io.File out)
                           throws java.io.IOException
Throws:
java.io.IOException

serializeTo

public static void serializeTo(java.lang.Object o,
                               java.io.File out)
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.