ServiceLoader (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.util Class ServiceLoader

java.lang.Object
  extended by com.alibaba.fastjson.util.ServiceLoader

public class ServiceLoader
extends Object


Constructor Summary
 
Method Summary
static void
static
<T> Set<T>
load(Class<T> clazz, ClassLoader classLoader)
            static void load(URL url, Set<String> set)
             
Methods inherited from class java.lang.Object
 

Constructor Detail

ServiceLoader

public ServiceLoader()
Method Detail

load

public static <T> Set<T> load(Class<T> clazz,
                              ClassLoader classLoader)

load

public static void load(URL url,
                        Set<String> set)
                 throws IOException
Throws:
IOException

close

public static void close(Closeable x)
                  throws IOException
Throws:
IOException


Copyright © 2012 Alibaba Group. All Rights Reserved.