2

I am developing a NetBeans Plugin which should be able to change the encoding of a NetBeans Project. In my plugin I have a reference to an instance of org.netbeans.api.project.Project but I still don't know how I can read the "Encoding" property of that project.

Can I read the "Project Properties" with the ProjectUtil class or do I need a lookup on each FileObject?

Here is a screenshot of the property which I want to read & write:

enter image description here

jww
  • 97,681
  • 90
  • 411
  • 885
Benny Code
  • 51,456
  • 28
  • 233
  • 198

0 Answers0