de.pado.dv
Class ContextSpec

java.lang.Object
  extended by de.pado.dv.ContextSpec

public class ContextSpec
extends java.lang.Object

ContextSpec models the context specification function. In the current implementation, it is only a set a set of path specifications.


Constructor Summary
ContextSpec(java.lang.String filename)
          A ContextSpec is initialized with the filename of a file containing path specifications in textual form.
 
Method Summary
 java.util.Iterator iterator()
          returns an iterator over all path specifications
 java.lang.String name()
          returns the name of the context specification, determined from the initialiasation filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextSpec

public ContextSpec(java.lang.String filename)
A ContextSpec is initialized with the filename of a file containing path specifications in textual form. See the (external) documentation of DependencyVectors for a description of the format for path specification files.

Method Detail

iterator

public java.util.Iterator iterator()
returns an iterator over all path specifications


name

public java.lang.String name()
returns the name of the context specification, determined from the initialiasation filename. The current required pattern for the filename is /.*_(\w+)/ where the name is the bit after the underscore.