Setting paramaters from Custom java Class


I am working on scenario where i would like to execute a java program where i read certain properties from file and will encrypt certain variables and then will add few more variables which will generate in java program and use it in .SQL file which already having a place holders.