public class SourceFile extends SourceFileBase
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
SourceFile(String fileName,
boolean isTempFile)
Creates the source from the file provided.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close any file references, release resources and then try to delete the
underlying file if it was marked as temporary.
|
deleteFile, getFilecreateReaderpublic SourceFile(String fileName, boolean isTempFile) throws FileNotFoundException
fileName - File source of the data.isTempFile - True if the file should be deleted when the source
is disposed.FileNotFoundException - if a data file could not be found.public void close()
throws IOException
IOException - if there was a problem accessing data file.Copyright © 2017 51Degrees. All rights reserved.