public class FileInputSourceProvider extends Object implements InputSourceProvider
GeneratedCode.setContents(InputSourceProvider)
Constructor and Description |
---|
FileInputSourceProvider(File file) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of this input source.
|
protected File |
getFile() |
InputSource |
getInputSource()
Gives access to the underlying input source.
|
public FileInputSourceProvider(File file)
protected final File getFile()
public InputSource getInputSource() throws IOException
InputSourceProvider
getInputSource
in interface InputSourceProvider
IOException
- if the data content is no longer accessible.public void dispose()
InputSourceProvider
GeneratedCode
,
this method is called when the generated content has been written on disk.dispose
in interface InputSourceProvider