in src/main/java/com/amazonaws/lex/twilio/sample/streaming/LexBidirectionalStreamingClient.java [87:98]
private static Properties readProperties() {
try (InputStream input = LexBidirectionalStreamingClient.class.getClassLoader().getResourceAsStream("bot-configuration.properties")) {
Properties prop = new Properties();
// load a properties file
prop.load(input);
return prop;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}