code: private Properties loadLegacyTokenProperties(InputStream inputStream) throws JinxException {
      Properties p = new Properties();
      try {
        p.loadFromXML(inputStream);
      } catch (Exception e) {
        throw new JinxException("Unable to load data from input stream.", e);
      }
      return p;
    }
docs: /*
  Load legacy properties.
  The legacy token object stored its data as an XML properties file. Given the input stream to that file,
  we load a Properties object and return it.