net.firstpartners.nounit.reader.bytecode
Class ByteCodeProjectSnippetFactory

java.lang.Object
  |
  +--net.firstpartners.nounit.reader.bytecode.AbstractByteCodeSnippetFactory
        |
        +--net.firstpartners.nounit.reader.bytecode.ByteCodeProjectSnippetFactory
All Implemented Interfaces:
ISnippetFactory

public class ByteCodeProjectSnippetFactory
extends AbstractByteCodeSnippetFactory
implements ISnippetFactory

Reads Entire Project of Packages of Files (Byte Code) and returns them as snippets Package (one Directory) NOT project


Constructor Summary
ByteCodeProjectSnippetFactory(java.lang.String startDirectory)
          Constructor - Get (and store) source class file
 
Method Summary
 Snippets getSnippets()
          Get a set of (package) snippets from the current source
 
Methods inherited from class net.firstpartners.nounit.reader.bytecode.AbstractByteCodeSnippetFactory
cleanValues, cleanValues, tidyNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteCodeProjectSnippetFactory

public ByteCodeProjectSnippetFactory(java.lang.String startDirectory)
Constructor - Get (and store) source class file
Parameters:
startDirectory - to start reading classes from
Method Detail

getSnippets

public Snippets getSnippets()
                     throws NoUnitException
Get a set of (package) snippets from the current source
Specified by:
getSnippets in interface ISnippetFactory
Overrides:
getSnippets in class AbstractByteCodeSnippetFactory
Returns:
snippets Collection of ISnippets describing the file