Package dk.netarkivet.common.utils
Interface FreeSpaceProvider
-
- All Known Implementing Classes:
DefaultFreeSpaceProvider
,FilebasedFreeSpaceProvider
,MockFreeSpaceProvider
,OnbFreeSpaceProvider
public interface FreeSpaceProvider
This interface encapsulates providing the number of bytes free on the file system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBytesFree(File f)
-
-
-
Method Detail
-
getBytesFree
long getBytesFree(File f)
- Parameters:
f
- a given file- Returns:
- the number of bytes free on the file system where file f resides. 0 if the file cannot be found.
-
-