public class AutoDetector extends Object
| Constructor and Description |
|---|
AutoDetector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadAndWatch(ResourceLoader resourceLoader,
String resourcePaths)
加载资源并自动检测资源变化
当资源发生变化的时候重新自动加载
|
static void |
main(String[] args) |
public static void loadAndWatch(ResourceLoader resourceLoader, String resourcePaths)
resourceLoader - 资源加载逻辑resourcePaths - 多个资源路径,用逗号分隔public static void main(String[] args)
Copyright © 2014–2015 APDPlat. All rights reserved.