jxl.demo
Class Demo

java.lang.Object
  |
  +--jxl.demo.Demo

public class Demo
extends java.lang.Object

The main demo class which interprets the command line switches in order to determine how to call the demo programs The demo program uses stdout as its default output stream


Field Summary
private static int CSVFormat
           
private static int XMLFormat
           
 
Constructor Summary
Demo()
           
 
Method Summary
private static void displayHelp()
          Displays the acceptable command line arguments
private static void findTest(Workbook w)
          A private method to test the various find functions
static void main(java.lang.String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

CSVFormat

private static final int CSVFormat

XMLFormat

private static final int XMLFormat
Constructor Detail

Demo

public Demo()
Method Detail

displayHelp

private static void displayHelp()
Displays the acceptable command line arguments

main

public static void main(java.lang.String[] args)
The main method. Gets the worksheet and then uses the API within a simple loop to print out the spreadsheet contents as comma separated values
Parameters:
args - the command line arguments

findTest

private static void findTest(Workbook w)
A private method to test the various find functions