public interface ModelWriter
void write(File output, Map<String,Object> options, Model model) throws IOException
output- 将模型序列化到的文件不能是null.options- 用于序列化的选项可能是null使用默认值。model- 要序列化的模型不能是null.IOException- 如果模型无法序列化。void write(Writer output, Map<String,Object> options, Model model) throws IOException
output- 将模型序列化到的作者不能是null.options- 用于序列化的选项可能是null使用默认值。model- 要序列化的模型不能是null.IOException- 如果模型无法序列化。void write(OutputStream output, Map<String,Object> options, Model model) throws IOException
output- 将模型序列化到的流不能是null.options- 用于序列化的选项可能是null使用默认值。model- 要序列化的模型不能是null.IOException- 如果模型无法序列化。版权所有 © 2001–2022 Apache 软件基金会。版权所有。