code: public BibTeXDatabase loadDatabase(InputStream is) throws IOException, ParseException {
  		Reader reader = new InputStreamReader(is, "UTF-8");
  		BibTeXParser parser = new BibTeXParser() {
  			@Override
  			public void checkStringResolution(Key key, BibTeXString string) {
  				if (string == null) {
  					//ignore
  				}
  			}
  		};
  		try {
  			return parser.parse(reader);
  		} catch (TokenMgrException err) {
  			throw new ParseException("Could not parse BibTeX library: " +
  					err.getMessage());
  		}
  	}
docs: <p>Loads a BibTeX database from a stream.</p>
  <p>This method does not close the given stream. The caller is
  responsible for closing it.</p>
  @param is the input stream to read from
  @return the BibTeX database
  @throws IOException if the database could not be read
  @throws ParseException if the database is invalid