org.apache.cocoon
Class Main

java.lang.Object
  extended by org.apache.cocoon.Main

public class Main
extends Object

Command line entry point. Parses command line, create Cocoon bean and invokes it with file destination.

Version:
CVS $Id: Main.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Stefano Mazzocchi, Nicola Ken Barozzi, Vadim Gritsenko, Upayavira

Field Summary
protected static String ACCEPT_LONG
           
protected static String ACCEPT_OPT
           
protected static String AGENT_LONG
           
protected static String AGENT_OPT
           
protected static String BROKEN_LINK_FILE_LONG
           
protected static String BROKEN_LINK_FILE_OPT
           
protected static String CONFIG_FILE_LONG
           
protected static String CONFIG_FILE_OPT
           
protected static String CONFIRM_EXTENSIONS_LONG
           
protected static String CONFIRM_EXTENSIONS_OPT
           
protected static String CONTEXT_DIR_LONG
           
protected static String CONTEXT_DIR_OPT
           
protected static String DEFAULT_FILENAME_LONG
           
protected static String DEFAULT_FILENAME_OPT
           
protected static String DEST_DIR_LONG
           
protected static String DEST_DIR_OPT
           
protected static String FOLLOW_LINKS_LONG
           
protected static String FOLLOW_LINKS_OPT
           
protected static String HELP_LONG
           
protected static String HELP_OPT
           
protected static String LOAD_CLASS_LONG
           
protected static String LOAD_CLASS_OPT
           
protected static String LOG_KIT_LONG
           
protected static String LOG_KIT_OPT
           
protected static String LOG_LEVEL_LONG
           
protected static String LOG_LEVEL_OPT
           
protected static String LOGGER_LONG
           
protected static String LOGGER_OPT
           
protected static String PRECOMPILE_ONLY_LONG
           
protected static String PRECOMPILE_ONLY_OPT
           
protected static String URI_FILE_LONG
           
protected static String URI_FILE_OPT
           
protected static String URI_GROUP_NAME_LONG
           
protected static String URI_GROUP_NAME_OPT
           
protected static String URI_LONG
           
protected static String VERBOSE_LONG
           
protected static String VERBOSE_OPT
           
protected static String VERSION_LONG
           
protected static String VERSION_OPT
           
protected static String WORK_DIR_LONG
           
protected static String WORK_DIR_OPT
           
protected static String XCONF_LONG
           
protected static String XCONF_OPT
           
 
Constructor Summary
Main()
           
 
Method Summary
static void main(String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP_OPT

protected static final String HELP_OPT
See Also:
Constant Field Values

VERSION_OPT

protected static final String VERSION_OPT
See Also:
Constant Field Values

VERBOSE_OPT

protected static final String VERBOSE_OPT
See Also:
Constant Field Values

LOG_KIT_OPT

protected static final String LOG_KIT_OPT
See Also:
Constant Field Values

LOGGER_OPT

protected static final String LOGGER_OPT
See Also:
Constant Field Values

LOG_LEVEL_OPT

protected static final String LOG_LEVEL_OPT
See Also:
Constant Field Values

CONTEXT_DIR_OPT

protected static final String CONTEXT_DIR_OPT
See Also:
Constant Field Values

DEST_DIR_OPT

protected static final String DEST_DIR_OPT
See Also:
Constant Field Values

WORK_DIR_OPT

protected static final String WORK_DIR_OPT
See Also:
Constant Field Values

CONFIG_FILE_OPT

protected static final String CONFIG_FILE_OPT
See Also:
Constant Field Values

BROKEN_LINK_FILE_OPT

protected static final String BROKEN_LINK_FILE_OPT
See Also:
Constant Field Values

URI_FILE_OPT

protected static final String URI_FILE_OPT
See Also:
Constant Field Values

XCONF_OPT

protected static final String XCONF_OPT
See Also:
Constant Field Values

AGENT_OPT

protected static final String AGENT_OPT
See Also:
Constant Field Values

ACCEPT_OPT

protected static final String ACCEPT_OPT
See Also:
Constant Field Values

FOLLOW_LINKS_OPT

protected static final String FOLLOW_LINKS_OPT
See Also:
Constant Field Values

PRECOMPILE_ONLY_OPT

protected static final String PRECOMPILE_ONLY_OPT
See Also:
Constant Field Values

CONFIRM_EXTENSIONS_OPT

protected static final String CONFIRM_EXTENSIONS_OPT
See Also:
Constant Field Values

LOAD_CLASS_OPT

protected static final String LOAD_CLASS_OPT
See Also:
Constant Field Values

DEFAULT_FILENAME_OPT

protected static final String DEFAULT_FILENAME_OPT
See Also:
Constant Field Values

URI_GROUP_NAME_OPT

protected static final String URI_GROUP_NAME_OPT
See Also:
Constant Field Values

HELP_LONG

protected static final String HELP_LONG
See Also:
Constant Field Values

VERSION_LONG

protected static final String VERSION_LONG
See Also:
Constant Field Values

VERBOSE_LONG

protected static final String VERBOSE_LONG
See Also:
Constant Field Values

LOG_KIT_LONG

protected static final String LOG_KIT_LONG
See Also:
Constant Field Values

LOGGER_LONG

protected static final String LOGGER_LONG
See Also:
Constant Field Values

LOG_LEVEL_LONG

protected static final String LOG_LEVEL_LONG
See Also:
Constant Field Values

CONTEXT_DIR_LONG

protected static final String CONTEXT_DIR_LONG
See Also:
Constant Field Values

DEST_DIR_LONG

protected static final String DEST_DIR_LONG
See Also:
Constant Field Values

WORK_DIR_LONG

protected static final String WORK_DIR_LONG
See Also:
Constant Field Values

CONFIG_FILE_LONG

protected static final String CONFIG_FILE_LONG
See Also:
Constant Field Values

BROKEN_LINK_FILE_LONG

protected static final String BROKEN_LINK_FILE_LONG
See Also:
Constant Field Values

URI_FILE_LONG

protected static final String URI_FILE_LONG
See Also:
Constant Field Values

XCONF_LONG

protected static final String XCONF_LONG
See Also:
Constant Field Values

AGENT_LONG

protected static final String AGENT_LONG
See Also:
Constant Field Values

ACCEPT_LONG

protected static final String ACCEPT_LONG
See Also:
Constant Field Values

FOLLOW_LINKS_LONG

protected static final String FOLLOW_LINKS_LONG
See Also:
Constant Field Values

PRECOMPILE_ONLY_LONG

protected static final String PRECOMPILE_ONLY_LONG
See Also:
Constant Field Values

CONFIRM_EXTENSIONS_LONG

protected static final String CONFIRM_EXTENSIONS_LONG
See Also:
Constant Field Values

LOAD_CLASS_LONG

protected static final String LOAD_CLASS_LONG
See Also:
Constant Field Values

DEFAULT_FILENAME_LONG

protected static final String DEFAULT_FILENAME_LONG
See Also:
Constant Field Values

URI_LONG

protected static final String URI_LONG
See Also:
Constant Field Values

URI_GROUP_NAME_LONG

protected static final String URI_GROUP_NAME_LONG
See Also:
Constant Field Values
Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)
                 throws Exception
The main method.

Parameters:
args - a String[] of arguments
Throws:
Exception - if an error occurs


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.