public class ModelReader
extends java.lang.Object
Reader
instance.Modifier and Type | Method and Description |
---|---|
static Model |
read(java.io.Reader reader,
java.lang.String location)
Reads the model file
The reader is not closed.
|
public static Model read(java.io.Reader reader, java.lang.String location) throws java.io.IOException
reader
- The reader providing the modellocation
- Optional location string identifying the source of the model.java.io.IOException
- If an error occursCopyright © 2022 The Apache Software Foundation. All rights reserved.