code: static IdentityTemplateLibrary load(InputStream in) throws IOException {
          BufferedReader br = new BufferedReader(new InputStreamReader(in));
          String line = null;
          IdentityTemplateLibrary library = new IdentityTemplateLibrary();
          while ((line = br.readLine()) != null) {
              // skip comments
              if (line.charAt(0) == '#') continue;
              library.add(decodeEntry(line));
          }
          return library;
      }
docs: Load a template library from an input stream.
  
  @return loaded template library
  @throws java.io.IOException low level IO error