Package org.snt.inmemantlr.comp
Class FileProvider
- java.lang.Object
-
- org.snt.inmemantlr.comp.FileProvider
-
- All Implemented Interfaces:
CunitProvider
public class FileProvider extends java.lang.Object implements CunitProvider
-
-
Constructor Summary
Constructors Constructor Description FileProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFiles(MemorySource... ms)
java.util.Collection<MemorySource>
getItems()
provide items to compileboolean
hasItems()
has items to compilejava.lang.String
toString()
-
-
-
Method Detail
-
addFiles
public void addFiles(MemorySource... ms)
-
getItems
public java.util.Collection<MemorySource> getItems()
Description copied from interface:CunitProvider
provide items to compile- Specified by:
getItems
in interfaceCunitProvider
- Returns:
- items to compile
-
hasItems
public boolean hasItems()
Description copied from interface:CunitProvider
has items to compile- Specified by:
hasItems
in interfaceCunitProvider
- Returns:
- true, if items to compile are present, false otherwise
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceCunitProvider
- Overrides:
toString
in classjava.lang.Object
-
-