|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.FilebasedFreeSpaceProvider
public class FilebasedFreeSpaceProvider
File Free Space Provider returns the number of bytes free out of a file.
Field Summary | |
---|---|
static java.lang.String |
FREESPACEPROVIDER_DIR_SETTING
settings.common.freespaceprovider.file: The setting for filename of the free space information. |
Constructor Summary | |
---|---|
FilebasedFreeSpaceProvider()
|
Method Summary | |
---|---|
long |
getBytesFree(java.io.File f)
Returns the number of bytes free which is read out of a file containing the bytes free information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FREESPACEPROVIDER_DIR_SETTING
Constructor Detail |
---|
public FilebasedFreeSpaceProvider()
Method Detail |
---|
public long getBytesFree(java.io.File f)
getBytesFree
in interface FreeSpaceProvider
f
- a given file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |