public class FeatureJSONReader extends Object
Feature using a Reader instance.| Modifier and Type | Method and Description |
|---|---|
static Feature |
read(Reader reader,
String location)
Read a new feature from the reader
The reader is not closed.
|
public static Feature read(Reader reader, String location) throws IOException
reader - The reader for the featurelocation - Optional locationIOException - If an IO errors occurs or the JSON is invalid.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.