code: private static <T> InputStream getPropertiesFile(Class<T> clazz, ULocale locale) {
          String localeStr = "";
          if(locale != null) {
              localeStr = '_' + locale.getName();
          }
          String filePath = clazz.getName().replace(DOT, SLASH) + localeStr + PROPERTIES_EXT;
          return clazz.getClassLoader().getResourceAsStream(filePath);
      }
docs: Get the properties file associated with the given interface and locale
  as an InputStream. Use the return value in an InputStream reader to load
  the properties file data into a Properties object.
  
  @param clazz The Class representing one of the i18n interface.
  @param locale The locale to get the properties for.
  @return Returns an InputStream of the file data suitable for loading
  into a Properties object or null if no properties file for the file
  path is found.