ome.services.blitz.repo
Class FileMaker
java.lang.Object
ome.services.blitz.repo.FileMaker
public class FileMaker
- extends Object
Utility class for creating and cleaning up a repository lock file. After
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileMaker
public FileMaker(String repoDir)
getDir
public String getDir()
needsInit
public boolean needsInit()
init
public void init(String dbUuid)
throws Exception
- Parameters:
dbUuid
-
- Throws:
Exception
getLine
public String getLine()
throws Exception
- Throws:
Exception
writeLine
public void writeLine(String line)
throws Exception
- Throws:
Exception
close
public void close()
OmeroJava Api
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.