public abstract class SourceFileBase extends SourceBase
Objects of this class should not be created directly as they are part of the internal logic.
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteFile()
Delete the file if it's a temporary file and it still exists.
|
protected File |
getFile()
Returns the file used to construct this Source.
|
createReaderprotected void deleteFile()
If the file is not deleted the first time then retry forcing garbage collection. If the file was used as a memory mapped buffer it may take time for the buffer to be released after the file handle.
protected File getFile()
Copyright © 2015 51Degrees. All rights reserved.