net.sourceforge.pavlov.library
Class LibraryLoader

java.lang.Object
  extended by net.sourceforge.pavlov.library.LibraryLoader

public class LibraryLoader
extends Object

Utility class to load all the books in a given directory to a Library.

See Also:
Library, LibraryXMLHandler

Constructor Summary
LibraryLoader()
           
 
Method Summary
static Library loadLibrary(String fname)
          Loads all the book files in the directory specified by the String fname into a library and returns the resulting library.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryLoader

public LibraryLoader()
Method Detail

loadLibrary

public static Library loadLibrary(String fname)
Loads all the book files in the directory specified by the String fname into a library and returns the resulting library.

Parameters:
fname - a String value
Returns:
a Library value