public class FilebasedFreeSpaceProvider extends Object implements FreeSpaceProvider
Modifier and Type | Field and Description |
---|---|
static String |
FREESPACEPROVIDER_DIR_SETTING
settings.common.freespaceprovider.file:
The setting for filename of the free space information. |
Constructor and Description |
---|
FilebasedFreeSpaceProvider() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesFree(File f)
Returns the number of bytes free which is read out of a file containing the bytes free information.
|
public static final String FREESPACEPROVIDER_DIR_SETTING
public FilebasedFreeSpaceProvider()
public long getBytesFree(File f)
getBytesFree
in interface FreeSpaceProvider
f
- a given fileCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.