开发者

Create file in netbeans platform

开发者 https://www.devze.com 2023-02-08 03:04 出处:网络
I\'ve made a plugin for NetBeans which parse a Java fil开发者_JS百科e and generate 2 files. I\'m writting it to the disk with standard operations (i.e., normal java.io.File). It works, but it takes a

I've made a plugin for NetBeans which parse a Java fil开发者_JS百科e and generate 2 files. I'm writting it to the disk with standard operations (i.e., normal java.io.File). It works, but it takes a while (usually 10 seconds or +) to show on the project (folder) tree.

I was wondering if there is a more efficient way to create this file using the netbeans platform api.


The FileSystem API is the place that you should probably start. You may want to focus on the FileObject and FileUtil classes.

0

精彩评论

暂无评论...
验证码 换一张
取 消