Package org.apache.sling.feature.io.json
Class FeatureJSONWriter
java.lang.Object
org.apache.sling.feature.io.json.FeatureJSONWriter
This class offers a static method to write a feature using a writer.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FeatureJSONWriter
public FeatureJSONWriter()
-
-
Method Details
-
write
Writes the feature to the writer. The writer is not closed.- Parameters:
writer
- Writerfeature
- Feature- Throws:
IOException
- If writing fails
-