org.apache.fop.apps
Class CommandLineOptions

java.lang.Object
  |
  +--org.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 getBufferFile()
           
 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.Hashtable 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

getInputHandler

public InputHandler getInputHandler()

getRendererOptions

public java.util.Hashtable getRendererOptions()

getStarter

public Starter getStarter()
                   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()

getBufferFile

public java.io.File getBufferFile()

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-2002 Apache Software Foundation. All Rights Reserved.