org.apache.fop.cli

Class Main


public class Main
extends java.lang.Object

Main command-line class for Apache FOP.

Method Summary

static boolean
checkDependencies()
static URL[]
getJARList()
static void
main(String[] args)
The main routine for the command line interface
static void
startFOP(String[] args)
Executes FOP with the given ClassLoader setup.
static void
startFOPWithDynamicClasspath(String[] args)
Dynamically builds a ClassLoader and executes FOP.

Method Details

checkDependencies

public static boolean checkDependencies()
Returns:
true if FOP's dependecies are available in the current ClassLoader setup.

getJARList

public static URL[] getJARList()
            throws MalformedURLException
Returns:
the list of URLs to all libraries.

main

public static void main(String[] args)
The main routine for the command line interface
Parameters:
args - the command line parameters

startFOP

public static void startFOP(String[] args)
Executes FOP with the given ClassLoader setup.
Parameters:
args - command-line arguments

startFOPWithDynamicClasspath

public static void startFOPWithDynamicClasspath(String[] args)
Dynamically builds a ClassLoader and executes FOP.
Parameters:
args - command-line arguments

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.