net.firstpartners.nounit.reader.bytecode
Class ByteCodePackageSnippetFactory

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

public class ByteCodePackageSnippetFactory
extends AbstractByteCodeSnippetFactory
implements ISnippetFactory

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


Constructor Summary
ByteCodePackageSnippetFactory(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

ByteCodePackageSnippetFactory

public ByteCodePackageSnippetFactory(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