net.sf.mpxj.writer
Class ProjectWriterUtility

java.lang.Object
  extended by net.sf.mpxj.writer.ProjectWriterUtility

public final class ProjectWriterUtility
extends Object

This class contains utility methods for working with ProjectWriters.


Method Summary
static ProjectWriter getProjectWriter(String name)
          Retrieves a ProjectWriter instance which can write a file of the type specified by the supplied file name.
static Set<String> getSupportedFileExtensions()
          Retrieves a set containing the file extensions supported by the getProjectWriter method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProjectWriter

public static ProjectWriter getProjectWriter(String name)
                                      throws InstantiationException,
                                             IllegalAccessException
Retrieves a ProjectWriter instance which can write a file of the type specified by the supplied file name.

Parameters:
name - file name
Returns:
ProjectWriter instance
Throws:
InstantiationException
IllegalAccessException

getSupportedFileExtensions

public static Set<String> getSupportedFileExtensions()
Retrieves a set containing the file extensions supported by the getProjectWriter method.

Returns:
set of file extensions


Copyright © 2012. All Rights Reserved.