org.apache.poi.hpsf.examples
Class WriteTitle

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

public class WriteTitle
extends java.lang.Object

This class is a simple sample application showing how to create a property set and write it to disk.

Since:
2003-09-12
Version:
$Id: WriteTitle.java 353560 2004-06-22 15:36:17Z klute $
Author:
Rainer Klute <klute@rainer-klute.de>

Constructor Summary
WriteTitle()
           
 
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

WriteTitle

public WriteTitle()
Method Detail

main

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

Runs the example program.

Parameters:
args - Command-line arguments. The first and only command-line argument is the name of the POI file system to create.
Throws:
java.io.IOException - if any I/O exception occurs.
WritingNotSupportedException - if HPSF does not (yet) support writing a certain property type.


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