package propertyfile; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; public class ReadPropertyFile { public ReadPropertyFile() { super(); } public static void main(String args []){ try { File file = new File("/opt/oracle/urls/test.properties"); FileInputStream fileInputStream = new FileInputStream(file); ResourceBundle bundle =new PropertyResourceBundle(fileInputStream); String appURL = bundle.getString("googleRedirectURL"); System.out.println(appURL); fileInputStream.clo...
Advanced ADF and Webcenter Learning