code: public static LanguageConfiguration get(InputStream configuration) {
      try {
        return unmarshal(configuration);
      } catch (JAXBException e) {
        throw new InitializationException("Invalid configuration file.", e);
      }
    }
docs: Creates a {@link LanguageConfiguration} from a {@link InputStream}, which
  remains opened.
  
  @param configuration
  the input stream
  @return a {@link LanguageConfiguration}