Here you can find the source of LoadDeployedObjects(String outputDirectory)
private static void LoadDeployedObjects(String outputDirectory)
//package com.java2s; //License from project: Apache License import java.io.File; import java.io.FileInputStream; import java.util.Properties; public class Main { private static String DEPLOYED_OBJECT_FILE = "DeployedObjects.properties"; private static Properties deployedObjectsList = new Properties(); private static void LoadDeployedObjects(String outputDirectory) { String file = outputDirectory + "/savedobjects/" + DEPLOYED_OBJECT_FILE;// w ww . j av a2 s . co m if (FileExists(file)) { try { FileInputStream inputStream = new FileInputStream(file); deployedObjectsList.load(inputStream); inputStream.close(); } catch (Exception e) { e.printStackTrace(); } } } public static boolean FileExists(String fileName) { File f = new File(fileName); return f.exists(); } }