public static Properties readUtf8Properties ( InputStream is ) { Properties properties = new OrderSafeProperties ( ) ; try { properties . load ( is ) ; is . close ( ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } return properties ; }
Read a properties file with the utf - 8 encoding