org.apache.poi.hpsf.examples
Class ReadTitle

java.lang.Object
  extended by org.apache.poi.hpsf.examples.ReadTitle

public class ReadTitle
extends java.lang.Object

Sample application showing how to read a OLE 2 document's title. Call it with the document's file name as command line parameter.

Explanations can be found in the HPSF HOW-TO.

Since:
2003-02-01
Version:
$Id: ReadTitle.java 489730 2006-12-22 19:18:16Z bayard $
Author:
Rainer Klute <klute@rainer-klute.de>

Constructor Summary
ReadTitle()
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs the example program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadTitle

public ReadTitle()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException

Runs the example program.

Parameters:
args - Command-line arguments. The first command-line argument must be the name of a POI filesystem to read.
Throws:
java.io.IOException - if any I/O exception occurs.


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.