public class ArchiveReader extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ArchiveReader.ArtifactConsumer |
| Constructor and Description |
|---|
ArchiveReader() |
| Modifier and Type | Method and Description |
|---|---|
static Set<org.apache.sling.feature.Feature> |
read(InputStream in,
ArchiveReader.ArtifactConsumer consumer)
Read a feature model archive.
|
public static Set<org.apache.sling.feature.Feature> read(InputStream in, ArchiveReader.ArtifactConsumer consumer) throws IOException
in - The input stream to read from.consumer - The plugin consuming the binaries, if null only the
feature models are readIOException - If anything goes wrongCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.