public class OnbFreeSpaceProvider extends Object implements FreeSpaceProvider
Modifier and Type | Field and Description |
---|---|
static String |
FREESPACEPROVIDER_MINFREESPACEPERCENTAGE_SETTING
settings.common.freespaceprovider.minfreespacepercentage:
The setting for minimum free space percentage |
Constructor and Description |
---|
OnbFreeSpaceProvider() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesFree(File f)
Returns the number of bytes free on the file system that the given file resides on.
|
public static final String FREESPACEPROVIDER_MINFREESPACEPERCENTAGE_SETTING
public OnbFreeSpaceProvider()
public long getBytesFree(File f)
getBytesFree
in interface FreeSpaceProvider
f
- a given fileCopyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.