net.ezcontent.web.admin.conf
Class ConfigurationParser

java.lang.Object
  extended bynet.ezcontent.web.admin.conf.ConfigurationParser

public class ConfigurationParser
extends Object

Procesa texto XML para crear la configuracion del backend.

Author:
Enrique Zamudio

Field Summary
static String ASSETS_KEY
           
(package private) static org.apache.commons.logging.Log log
           
static String MESSAGES_KEY
           
static String SECTION_KEY
           
 
Constructor Summary
ConfigurationParser()
           
 
Method Summary
static void main(String[] args)
           
 Map parse(File file)
           
 Map parse(InputStream stream)
           
 Map parse(InputStream stream, RequestContext rc, Global global)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log

SECTION_KEY

public static final String SECTION_KEY
See Also:
Constant Field Values

ASSETS_KEY

public static final String ASSETS_KEY
See Also:
Constant Field Values

MESSAGES_KEY

public static final String MESSAGES_KEY
See Also:
Constant Field Values
Constructor Detail

ConfigurationParser

public ConfigurationParser()
Method Detail

parse

public Map parse(InputStream stream)
          throws IOException
Throws:
IOException

parse

public Map parse(InputStream stream,
                 RequestContext rc,
                 Global global)
          throws IOException
Throws:
IOException

parse

public Map parse(File file)
          throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception