Class ModelReader
java.lang.Object
org.apache.sling.provisioning.model.io.ModelReader
This class offers a method to read a model using a
Reader
instance.-
Method Summary
-
Method Details
-
read
Reads the model file The reader is not closed. It is up to the caller to close the reader.- Parameters:
reader
- The reader providing the modellocation
- Optional location string identifying the source of the model.- Throws:
IOException
- If an error occurs
-