org.apache.fop.apps
Class CommandLineOptions

java.lang.Object
  extended byorg.apache.fop.apps.CommandLineOptions

public class CommandLineOptions
extends Object

Options parses the commandline arguments


Constructor Summary
CommandLineOptions(String[] args)
           
 
Method Summary
 Boolean dumpConfiguration()
           
 File getFOFile()
           
 File getInputFile()
          return either the fofile or the xmlfile
 InputHandler getInputHandler()
           
 int getInputMode()
           
 String getLanguage()
           
 File getOutputFile()
           
 int getOutputMode()
           
 int getRenderer()
          returns the chosen renderer, throws FOPException
 HashMap getRendererOptions()
           
 Starter getStarter()
           
 File getUserConfigFile()
           
 File getXMLFile()
           
 File getXSLFile()
           
 Boolean isCoarseAreaXml()
           
 Boolean isDebugMode()
           
 Boolean isQuiet()
           
static void main(String[] args)
           
static void printUsage()
          shows the commandline syntax including a summary of all available options and some examples
 void printUsagePrintOutput()
          shows the options for print output
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineOptions

public CommandLineOptions(String[] args)
                   throws FOPException,
                          FileNotFoundException
Method Detail

getRenderer

public int getRenderer()
                throws FOPException
returns the chosen renderer, throws FOPException

Throws:
FOPException

getInputHandler

public InputHandler getInputHandler()
                             throws FOPException
Throws:
FOPException

getRendererOptions

public HashMap getRendererOptions()

getStarter

public Starter getStarter()
                   throws FOPException
Throws:
FOPException

getInputMode

public int getInputMode()

getOutputMode

public int getOutputMode()

getFOFile

public File getFOFile()

getXMLFile

public File getXMLFile()

getXSLFile

public File getXSLFile()

getOutputFile

public File getOutputFile()

getUserConfigFile

public File getUserConfigFile()

getLanguage

public String getLanguage()

isQuiet

public Boolean isQuiet()

dumpConfiguration

public Boolean dumpConfiguration()

isDebugMode

public Boolean isDebugMode()

isCoarseAreaXml

public Boolean isCoarseAreaXml()

getInputFile

public File getInputFile()
return either the fofile or the xmlfile


printUsage

public static void printUsage()
shows the commandline syntax including a summary of all available options and some examples


printUsagePrintOutput

public void printUsagePrintOutput()
shows the options for print output


main

public static void main(String[] args)


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.