Package org.teavm.tooling.sources
Class DirectorySourceFileProvider
- java.lang.Object
-
- org.teavm.tooling.sources.DirectorySourceFileProvider
-
- All Implemented Interfaces:
SourceFileProvider
public class DirectorySourceFileProvider extends java.lang.Object implements SourceFileProvider
-
-
Constructor Summary
Constructors Constructor Description DirectorySourceFileProvider(java.io.File baseDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()SourceFileInfogetSourceFile(java.lang.String fullPath)voidopen()
-
-
-
Method Detail
-
open
public void open() throws java.io.IOException- Specified by:
openin interfaceSourceFileProvider- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceSourceFileProvider- Throws:
java.io.IOException
-
getSourceFile
public SourceFileInfo getSourceFile(java.lang.String fullPath) throws java.io.IOException
- Specified by:
getSourceFilein interfaceSourceFileProvider- Throws:
java.io.IOException
-
-