public void load( InputStream inputStream, Hashtable properties )
throws NPandayRepositoryException
{
CompilerPluginXpp3Reader xpp3Reader = new CompilerPluginXpp3Reader();
Reader reader = new InputStreamReader( inputStream );
CompilerPluginsModel plugins;
try
{
plugins = xpp3Reader.read( reader );
}
catch( IOException e )
{
throw new NPandayRepositoryException( "NPANDAY-062-000: An error occurred while reading plugins-compiler.xml", e );
}
catch ( XmlPullParserException e )
{
throw new NPandayRepositoryException( "NPANDAY-062-001: Could not read plugins-compiler.xml", e );
}
compilerPlugins = plugins.getCompilerPlugins();
}