Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::logging::archive::zoom::FilesManager::FileNameFilter Class Reference

List of all members.

Public Member Functions

 FileNameFilter (long start, long end)
Override boolean accept (File dir, String name)

Private Attributes

final long start
final long end

Static Private Attributes

final String header = "logOutput"

Detailed Description

The filter for the file names.

The file names have the following format: logOutput<StartDate>--<EndDate>.xml. like for example logOutput2008-09-19T11_21_50.115--2008-09-19T11_21_51.637.xml.

The file names accepted by this filter are all the file names with the format described above and whose start and end dates are in a given time interval, defined in the constructor.

Author:
acaproni


Constructor & Destructor Documentation

alma::acs::logging::archive::zoom::FilesManager::FileNameFilter::FileNameFilter long  start,
long  end
[inline]
 

The start and end dates to accept in the file name

Parameters:
start The start date (can be 0)
end The end date


Member Function Documentation

Override boolean alma::acs::logging::archive::zoom::FilesManager::FileNameFilter::accept File  dir,
String  name
[inline]
 

See also:
FilenameFilter


Member Data Documentation

final long alma::acs::logging::archive::zoom::FilesManager::FileNameFilter::end [private]
 

The end date in the file name

final String alma::acs::logging::archive::zoom::FilesManager::FileNameFilter::header = "logOutput" [static, private]
 

The start name of each log file

final long alma::acs::logging::archive::zoom::FilesManager::FileNameFilter::start [private]
 

The start date in the file name


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:53:45 2009 for ACS Java API by doxygen 1.3.8