public class JSONFeatures extends Object
| Constructor and Description |
|---|
JSONFeatures() |
| Modifier and Type | Method and Description |
|---|---|
static String |
read(Reader reader,
org.apache.sling.feature.ArtifactId optionalId,
String location)
Read the feature and add the
id attribute if missing |
public static String read(Reader reader, org.apache.sling.feature.ArtifactId optionalId, String location) throws IOException
id attribute if missingreader - The readeroptionalId - The artifact id to use if the id attribute is missinglocation - The locationIOException - If reading failsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.