public class GeoJSONValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
DEFAULT_BUFFER_SIZE |
static int |
EDRGeoJSON |
static int |
GeoJSON |
| Constructor and Description |
|---|
GeoJSONValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGeoJSONValidPerSchema(String docURL,
int schemaFlag) |
String |
otherConvertInputStreamToString(InputStream is) |
org.json.JSONObject |
readJSONObjectFromURL(URL requestURL) |
public static final int GeoJSON
public static final int EDRGeoJSON
protected final int DEFAULT_BUFFER_SIZE
public boolean isGeoJSONValidPerSchema(String docURL, int schemaFlag) throws Exception
Exceptionpublic org.json.JSONObject readJSONObjectFromURL(URL requestURL) throws IOException
IOExceptionpublic String otherConvertInputStreamToString(InputStream is) throws IOException
IOExceptionCopyright © 2022 Open Geospatial Consortium. All rights reserved.