public static Configuration fromStream(InputStream in) throws RedmineApiErrorException { if (in != null) { TypedParser<Configuration> parser = new TypedParser<Configuration>(Configuration.class); return parser.parseResponse(in, 0); } return null; }