public class TextExtensionFragmentParser extends Object
Constructor and Description |
---|
TextExtensionFragmentParser(ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
List<Extension> |
getExtensions(InputStream is)
Reads extension definitions from a Text file and instantiates them
The text file has the following syntax
classname:interfacename:deferred(true|false):optional(true|false)
|
List<Extension> |
getExtensions(URL url) |
public TextExtensionFragmentParser(ClassLoader loader)
public List<Extension> getExtensions(InputStream is) throws IOException
is
- stream to read the extension fromIOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.