public class GoogleResponseParser extends Object
| Constructor and Description |
|---|
GoogleResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
parseArrayResponse(Reader r,
String arrayName,
String arrayKey) |
GoogleMTErrorException |
parseError(int code,
String s,
String query) |
List<String> |
parseLanguagesResponse(Reader r) |
List<String> |
parseResponse(Reader r) |
public List<String> parseResponse(Reader r) throws IOException, org.json.simple.parser.ParseException
IOExceptionorg.json.simple.parser.ParseExceptionpublic List<String> parseLanguagesResponse(Reader r) throws IOException, org.json.simple.parser.ParseException
IOExceptionorg.json.simple.parser.ParseExceptionprotected List<String> parseArrayResponse(Reader r, String arrayName, String arrayKey) throws IOException, org.json.simple.parser.ParseException
IOExceptionorg.json.simple.parser.ParseExceptionpublic GoogleMTErrorException parseError(int code, String s, String query) throws IOException, org.json.simple.parser.ParseException
IOExceptionorg.json.simple.parser.ParseExceptionCopyright © 2021. All rights reserved.