Package com.instantiations.pde.build.util

Examples of com.instantiations.pde.build.util.BuildProperties.readStream()


    String filename = BuildPropertiesFactory.class.getName().replace('.', '/') + "-test.properties"
      // "com/instantiations/build/BuildProptiesFactory-test.properties";
    InputStream stream = BuildProperties.class.getClassLoader().getResourceAsStream(filename);
    if (stream == null)
      throw new FileNotFoundException("Failed to find " + filename);
    prop.readStream(stream);
    return prop;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.