org.schmant.project.eclipse
Class SourceDirectoryClasspathEntry

java.lang.Object
  extended by org.schmant.project.eclipse.SourceDirectoryClasspathEntry
All Implemented Interfaces:
JavaProjectClasspathEntry

public class SourceDirectoryClasspathEntry
extends Object
implements JavaProjectClasspathEntry

This classpath entry is a reference to a source code directory for an Eclipse Java project. This kind of classpath entries are never exposed in the project's build classpath; they are singled out and handled separately.

Since:
0.5
Author:
Karl Gustafsson

Constructor Summary
SourceDirectoryClasspathEntry(DirectoryView dir)
          Create a source code directory classpath entry.
 
Method Summary
 DirectoryView getDirectory()
          Get the source code directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceDirectoryClasspathEntry

public SourceDirectoryClasspathEntry(DirectoryView dir)
Create a source code directory classpath entry.

Parameters:
dir - The source code directory.
Method Detail

getDirectory

public DirectoryView getDirectory()
Get the source code directory.

Returns:
The source code directory.