public class MockFreeSpaceProvider extends Object implements FreeSpaceProvider
Modifier and Type | Field and Description |
---|---|
static long |
ONETB
1 TB in bytes.
|
Constructor and Description |
---|
MockFreeSpaceProvider() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesFree(File f)
Returns 1 TB of bytes as the number of bytes free on the file system that the given file resides on.
|
public static final long ONETB
public MockFreeSpaceProvider()
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.