EspressReport
v 5.5

quadbase.common.util.internal
Class RecentFiles

java.lang.Object
  |
  +--quadbase.common.util.internal.RecentFiles

public class RecentFiles
extends java.lang.Object

Utility class for remember recently visited files.


Field Summary
static int CHART_TEMPLATE
           
static int REPORT_TEMPLATE
           
static int STYLE_TEMPLATE
           
 
Constructor Summary
RecentFiles()
           
 
Method Summary
static java.lang.String[] getFilePaths(java.lang.String user, int filetype)
          Gets the list of recent visited files that were visited by USER and of file type FILETYPE
static void insertFilePath(java.lang.String user, int filetype, java.lang.String filepath)
          Insert into the list of recent visited files that were visited by USER and of file type FILETYPE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPORT_TEMPLATE

public static final int REPORT_TEMPLATE

CHART_TEMPLATE

public static final int CHART_TEMPLATE

STYLE_TEMPLATE

public static final int STYLE_TEMPLATE
Constructor Detail

RecentFiles

public RecentFiles()
Method Detail

getFilePaths

public static java.lang.String[] getFilePaths(java.lang.String user,
                                              int filetype)
Gets the list of recent visited files that were visited by USER and of file type FILETYPE
Parameters:
user - the name of the logged in user, null gets the default user
filetype - REPORT_TEMPLATE or CHART_TEMPLATE

insertFilePath

public static void insertFilePath(java.lang.String user,
                                  int filetype,
                                  java.lang.String filepath)
Insert into the list of recent visited files that were visited by USER and of file type FILETYPE
Parameters:
user - the name of the logged in user, null gets the default user
filetype - REPORT_TEMPLATE or CHART_TEMPLATE

EspressReport
v 5.5