by.belsoft.report.tools.reportdb
Class FileManager

java.lang.Object
  |
  +--by.belsoft.report.tools.reportdb.FileManager

public class FileManager
extends java.lang.Object

The class to work with files

Author:
Ilya Kirillov

Constructor Summary
FileManager()
           
 
Method Summary
 void deleteReportFiles(java.lang.String[] names)
          deleteReportFiles deletes report files
 java.net.URL[] getDriverUrls()
          getDriverUrls gets drivers urls
 java.util.ArrayList getTemplateNames()
          getTemplateNames gets template names
 boolean isGenerated(java.lang.String name)
          isGenerated checks if report is generated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManager

public FileManager()
Method Detail

getDriverUrls

public java.net.URL[] getDriverUrls()
getDriverUrls gets drivers urls

Returns:
URL[] the array with urls

getTemplateNames

public java.util.ArrayList getTemplateNames()
getTemplateNames gets template names

Returns:
ArrayList with template names

isGenerated

public boolean isGenerated(java.lang.String name)
isGenerated checks if report is generated

Parameters:
name - String the report name
Returns:
boolean generation state

deleteReportFiles

public void deleteReportFiles(java.lang.String[] names)
deleteReportFiles deletes report files

Parameters:
names - String[] list with file names


Copyright © 2005 BelSoft Inc. All Rights Reserved.