org.apache.fop.apps
Class CommandLineOptions

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

public class CommandLineOptions
extends java.lang.Object

Options parses the commandline arguments


Constructor Summary
CommandLineOptions(java.lang.String[] args)
           
 
Method Summary
 java.lang.Boolean dumpConfiguration()
           
 java.io.File getFOFile()
           
 java.io.File getInputFile()
          return either the fofile or the xmlfile
 InputHandler getInputHandler()
           
 int getInputMode()
           
 java.lang.String getLanguage()
           
 java.io.File getOutputFile()
           
 int getOutputMode()
           
 int getRenderer()
          returns the chosen renderer, throws FOPException
 java.util.HashMap getRendererOptions()
           
 Starter getStarter()
           
 java.io.File getUserConfigFile()
           
 java.io.File getXMLFile()
           
 java.io.File getXSLFile()
           
 java.lang.Boolean isCoarseAreaXml()
           
 java.lang.Boolean isDebugMode()
           
 java.lang.Boolean isQuiet()
           
static void main(java.lang.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(java.lang.String[] args)
                   throws FOPException,
                          java.io.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 java.util.HashMap getRendererOptions()

getStarter

public Starter getStarter()
                   throws FOPException
Throws:
FOPException

getInputMode

public int getInputMode()

getOutputMode

public int getOutputMode()

getFOFile

public java.io.File getFOFile()

getXMLFile

public java.io.File getXMLFile()

getXSLFile

public java.io.File getXSLFile()

getOutputFile

public java.io.File getOutputFile()

getUserConfigFile

public java.io.File getUserConfigFile()

getLanguage

public java.lang.String getLanguage()

isQuiet

public java.lang.Boolean isQuiet()

dumpConfiguration

public java.lang.Boolean dumpConfiguration()

isDebugMode

public java.lang.Boolean isDebugMode()

isCoarseAreaXml

public java.lang.Boolean isCoarseAreaXml()

getInputFile

public java.io.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(java.lang.String[] args)


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