cz.cuni.amis.utils
Class FileMarker

Package class diagram package FileMarker
java.lang.Object
  extended by cz.cuni.amis.utils.FileMarker

public class FileMarker
extends Object


Field Summary
static String FILE_SEPARATOR
           
 
Constructor Summary
FileMarker(String prefix)
           
FileMarker(String prefix, File directory)
           
FileMarker(String prefix, String pathToDirectory)
           
 
Method Summary
 File getFileMark(String mark)
           
 File getFileMark(String mark, int index)
           
 Pattern getMarkFileNamePattern()
           
protected  boolean isExists(File markFile)
           
 boolean isExists(String mark)
           
 boolean isExists(String mark, int index)
           
 void remove(File markFile)
           
 void remove(String mark)
           
 void remove(String mark, int index)
           
 void removeAllMarks()
           
protected  void touch(File markFile)
           
 void touch(String mark)
           
 void touch(String mark, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_SEPARATOR

public static final String FILE_SEPARATOR
Constructor Detail

FileMarker

public FileMarker(String prefix)

FileMarker

public FileMarker(String prefix,
                  File directory)

FileMarker

public FileMarker(String prefix,
                  String pathToDirectory)
Method Detail

getMarkFileNamePattern

public Pattern getMarkFileNamePattern()

getFileMark

public File getFileMark(String mark)

getFileMark

public File getFileMark(String mark,
                        int index)

isExists

protected boolean isExists(File markFile)

touch

protected void touch(File markFile)

remove

public void remove(File markFile)

isExists

public boolean isExists(String mark)

touch

public void touch(String mark)

remove

public void remove(String mark)

isExists

public boolean isExists(String mark,
                        int index)

touch

public void touch(String mark,
                  int index)

remove

public void remove(String mark,
                   int index)

removeAllMarks

public void removeAllMarks()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.