org.jrobin.core
public class RrdFileBackendFactory extends RrdBackendFactory
Field Summary | |
---|---|
static String | NAME
factory name, "FILE" |
Method Summary | |
---|---|
protected boolean | exists(String path)
Method to determine if a file with the given path already exists.
|
String | getFactoryName()
Returns the name of this factory.
|
protected RrdBackend | open(String path, boolean readOnly)
Creates RrdFileBackend object for the given file path.
|
Parameters: path File path
Returns: True, if such file exists, false otherwise.
Returns: Factory name (equals to string "FILE")
Parameters: path File path readOnly True, if the file should be accessed in read/only mode. False otherwise.
Returns: RrdFileBackend object which handles all I/O operations for the given file path
Throws: IOException Thrown in case of I/O error.