How to programmatically format java files/directories

Jean Morissette <[email protected]> Tue, 17 May 2016 18:52:45 -0400
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <CAEGsZX0yhsqmYpLFUtUDkrMdpjM2cdLCJYWuM1VmAp583-_Z3A@mail.gmail.com>
Hi,

Is it possible to use Netbeans libraries or the command line to
programmatically format java files/directories?

We have a need to format java files after generating java code during our
build process. So this need to be automatised.

Thanks for your help,
Jean