문제

I've made a plugin for NetBeans which parse a Java file 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top