net.sf.mpxj.reader
Class ProjectReaderUtility

java.lang.Object
  extended by net.sf.mpxj.reader.ProjectReaderUtility

public final class ProjectReaderUtility
extends Object

This class contains utility methods for working with ProjectReaderss.


Method Summary
static ProjectReader getProjectReader(String name)
          Retrieves a ProjectReader instance which can read 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 getProjectReader method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProjectReader

public static ProjectReader getProjectReader(String name)
                                      throws InstantiationException,
                                             IllegalAccessException
Retrieves a ProjectReader instance which can read a file of the type specified by the supplied file name.

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

getSupportedFileExtensions

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

Returns:
set of file extensions


Copyright © 2012. All Rights Reserved.