org.hardtokenmgmt.core.util
Class CommonUtils

java.lang.Object
  extended by org.hardtokenmgmt.core.util.CommonUtils

public class CommonUtils
extends java.lang.Object

Class containing generic helper methods in common for all applications using htmf

Version:
$Id$
Author:
Philip Vendil 21 Nov 2008

Constructor Summary
CommonUtils()
           
 
Method Summary
static java.io.File getCurrentSaveDirectory()
          Returns the Path to the latest directory the administrator saved or opened any files.
static void setCurrentSaveDirectory(java.io.File filename)
          Sets the current save directory from the given selected file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonUtils

public CommonUtils()
Method Detail

getCurrentSaveDirectory

public static java.io.File getCurrentSaveDirectory()
Returns the Path to the latest directory the administrator saved or opened any files. If never been used before is the user.home path used.


setCurrentSaveDirectory

public static void setCurrentSaveDirectory(java.io.File filename)
Sets the current save directory from the given selected file.