com.alibaba.fastjson.util
Class ServiceLoader
java.lang.Object
com.alibaba.fastjson.util.ServiceLoader
public class ServiceLoader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceLoader
public ServiceLoader()
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.