public class FileMaker
extends java.lang.Object
initialization
, a call to getLine()
will
either return the UUID of the repository or null. If null, then
writeLine(String)
can be used to assert that this repository is to
be named according to the string.Constructor and Description |
---|
FileMaker(java.lang.String repoDir) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getDir() |
java.lang.String |
getLine() |
void |
init(java.lang.String dbUuid) |
void |
init(java.lang.String dbUuid,
boolean isReadOnlyRepo) |
boolean |
needsInit() |
void |
writeLine(java.lang.String line) |
public java.lang.String getDir()
public boolean needsInit()
public void init(java.lang.String dbUuid) throws java.lang.Exception
dbUuid
- java.lang.Exception
public void init(java.lang.String dbUuid, boolean isReadOnlyRepo) throws java.lang.Exception
java.lang.Exception
public java.lang.String getLine() throws java.lang.Exception
java.lang.Exception
public void writeLine(java.lang.String line) throws java.lang.Exception
java.lang.Exception
public void close()