开发者

Read write a java class file

开发者 https://www.devze.com 2022-12-27 23:33 出处:网络
I have a rather strange requirement. I have property files in which same keys are added and a respective java constant is 开发者_Go百科created in interface file.

I have a rather strange requirement. I have property files in which same keys are added and a respective java constant is 开发者_Go百科created in interface file.

I want to relive myself of adding into all the files again and again.I know how to read write property file. Is there a way to read / write java file. I mean not the usual file read APIs like

JavaFileReader jfr;
jfr.AddField("fdsf");

I understand its very specific requirement.But hoping someone else also has the need:):)


You could use codemodel. Take a look at this thread. It might help on how to use it.

0

精彩评论

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