About the File-Date-StringUtils library

Using

Have a look at the Makefile, a compilation produces several object files that you can link to your program. The header files have .hpp as file name extension. The library is written in C++.

Overview

Date Classes: The Date functionality is rather incomplete. The class 'Date' represents a date. The class 'TimeZone' is intended to represent Time Zones, but at present of very limited use.

String Utilities: These include the StringTokenizer that splits strings into tokens and some other functions for convenience. See the header file StringUtils.hpp. Generally, the C++ Standard Library's string class is used to represent strings.

File Classes: The main class here is UnixFile, providing easy access to information about files on Unix systems. Objects from class UnixFile represent individual files. This class is rather complete. Note that file properties cannot be changed!

There is a superclass for UnixFile, File, providing a general interface. But it is not used elsewhere.

Other classes are 'DirectoryList' (holds a directory's entries and proviedes functions to sort it etc.) and 'UnixDirectoryLister' (reads a directory's entries from the filesystem).