public interface DiskSpaceChecker
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDiskSpace(java.io.File file,
int toWrite,
int bufferSize)
Is there enough space to extend the file?
|
boolean checkDiskSpace(java.io.File file,
int toWrite,
int bufferSize)
file - The current filenametoWrite - Length of the proposed writebufferSize - The caller only checks disk space when the number of bytes written since
the last check exceeds this value.