类 ResourceHintsWriter
java.lang.Object
cn.taketoday.aot.nativex.ResourceHintsWriter
Write a
ResourceHints to the JSON output expected by the GraalVM
native-image compiler, typically named resource-config.json.- 从以下版本开始:
- 4.0
- 作者:
- Sebastien Deleuze, Stephane Nicoll, Brian Clozel, Harry Yang
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static voidprivate static voidhandleCondition(Map<String, Object> attributes, ConditionalHint hint) private static voidhandleResourceBundles(Map<String, Object> attributes, Stream<ResourceBundleHint> ressourceBundles) toAttributes(ResourceHints hint) static voidwrite(BasicJsonWriter writer, ResourceHints hints)
-
构造器详细资料
-
ResourceHintsWriter
ResourceHintsWriter()
-
-
方法详细资料
-
write
-
toAttributes
-
handleResourceBundles
private static void handleResourceBundles(Map<String, Object> attributes, Stream<ResourceBundleHint> ressourceBundles) -
toAttributes
-
toAttributes
-
addIfNotEmpty
-
handleCondition
-