de.smartics.testdoc.core.adapter
Class DirectoryUnitTestDocLoader

Package class diagram package DirectoryUnitTestDocLoader
java.lang.Object
  extended by de.smartics.testdoc.core.adapter.DirectoryUnitTestDocLoader
All Implemented Interfaces:
IndexProvider.UnitTestDocLoader

public class DirectoryUnitTestDocLoader
     
     
extends Object
implements IndexProvider.UnitTestDocLoader

Loads instances of UnitTestDoc from a file system directory.

Author:
Robert Reiner

Constructor Summary
DirectoryUnitTestDocLoader(File directory)
          Default constructor.
 
Method Summary
 List<UnitTestDoc> load()
          Loads instances of unit test documentation from a backend.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryUnitTestDocLoader

public DirectoryUnitTestDocLoader(File directory)
Default constructor.

Parameters:
directory - the directory to read instances of UnitTestDoc from.
Method Detail

load

public List<UnitTestDoc> load()
                       throws ImportException
Loads instances of unit test documentation from a backend.

Specified by:
load in interface IndexProvider.UnitTestDocLoader
Returns:
the list of read instances.
Throws:
ImportException - on any problem loading the unit test documentation.
See Also:
IndexProvider.UnitTestDocLoader.load()


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.