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

Inheritance diagram for alma::acs::logging::archive::zoom::FilesManager::FileNameFilter:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::archive::zoom::FilesManager::FileNameFilter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

final long start
final long end

Static Private Attributes

static 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

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

Member Data Documentation

The end date in the file name

Referenced by accept().

The start name of each log file

Referenced by accept().

The start date in the file name


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2