aviatorscript icon indicating copy to clipboard operation
aviatorscript copied to clipboard

compileScript 支持传入 InputStream

Open lantingeee opened this issue 1 year ago • 1 comments

当前 compile Script 只支持传入文件 path,当策略文件封装进 jar 包时,java 无法获取 file 对象及 path,期望能支持 InputStream 的 compile Script

lantingeee avatar Dec 25 '24 10:12 lantingeee

请问这个 调整可以合并吗?

lantingeee avatar Dec 27 '24 06:12 lantingeee

建议做在你自己的使用代码里。从我的角度,不喜欢传入一个资源,需要 take care 它,管理他的关闭等。

killme2008 avatar Jun 25 '25 12:06 killme2008