public class Parser extends Object
Constructor and Description |
---|
Parser(ClassLoader cl) |
Modifier and Type | Method and Description |
---|---|
ConfigurationBuilderHolder |
parse(InputStream is) |
ConfigurationBuilderHolder |
parse(List<? extends InputStream> streams)
This will parse all the streams in order overriding at each the global
and default cache settings.
|
ConfigurationBuilderHolder |
parseFile(String filename) |
ConfigurationBuilderHolder |
parseFiles(List<String> filenames)
This will parse all the filenames in order overriding at each the global
and default cache settings.
|
static Properties |
parseProperties(XMLStreamReader reader) |
public Parser(ClassLoader cl)
public ConfigurationBuilderHolder parseFile(String filename)
public ConfigurationBuilderHolder parseFiles(List<String> filenames)
filenames
- The file names, each might be the name of the file (too
look it up in the class path) or an url to a file.public ConfigurationBuilderHolder parse(InputStream is)
public ConfigurationBuilderHolder parse(List<? extends InputStream> streams)
streams
- The streams each containing data pertaining to an infinispan
configuration xml filepublic static Properties parseProperties(XMLStreamReader reader) throws XMLStreamException
XMLStreamException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.