public class DefaultFreeSpaceProvider extends Object implements FreeSpaceProvider
Constructor and Description |
---|
DefaultFreeSpaceProvider() |
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 DefaultFreeSpaceProvider()
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.