### Classes, interfaces and traits

# FileParserFactoryInterface¶

This interface can be used to implement a fileParserFactory to create FileParsers based on config.

Currently it is used in the PropertyTask to deliver the correct parser based on filetype.
« More »

# FileParserInterface¶

This interface can be used to implement a fileParser for property files.

For example: You can implement a .ini-Fileparser or .yaml/.xml/.php.
« More »

# BufferedReader¶

Convenience class for reading files.

« More »

# BufferedWriter¶

Convenience class for writing files.

« More »

# ConsoleReader¶

Convenience class for reading console input.

« More »

# FileInputStream¶

Input stream subclass for file streams.

« More »

# FileOutputStream¶

Output stream subclass for file streams.

« More »

# FileParserFactory¶

The factory to create fileParsers based on extension name from PhingFile->getFileExtension()

« More »

# FileReader¶

Convenience class for reading files.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.
« More »

# FileSystem¶

This is an abstract class for platform specific filesystem implementations you have to implement each method in the platform specific filesystem implementation classes Your local filesytem implementation must extend this class.

You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you _must_ always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives. FIXME: - Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
« More »

# FileWriter¶

Convenience class for performing file write operations.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.
« More »

# FilterReader¶

Wrapper class for readers, which can be used to apply filters.

« More »

# IniFileParser¶

Implements an IniFileParser. The logic is coming from th Properties.php, but I don't know who's the author.

FIXME - Add support for arrays (separated by ',')
« More »

# InputStream¶

Wrapper class for PHP stream that supports read operations.

« More »

# InputStreamReader¶

Writer class for OutputStream objects.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.
« More »

# IOException¶

Extends Exception to take advantage of methods therein.

« More »

# OutputStream¶

Wrapper class for PHP stream that supports write operations.

« More »

# OutputStreamWriter¶

Writer class for OutputStream objects.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.
« More »

# PhingFile¶

An abstract representation of file and directory pathnames.

« More »

# Reader¶

Abstract class for reading character streams.

« More »

# StringReader¶

Dummy class for reading from string of characters.

« More »

# UnixFileSystem¶

UnixFileSystem class. This class encapsulates the basic file system functions for platforms using the unix (posix)-stylish filesystem. It wraps php native functions suppressing normal PHP error reporting and instead uses Exception to report and error.

This class is part of a oop based filesystem abstraction and targeted to run on all supported php platforms. Note: For debugging turn track_errors on in the php.ini. The error messages and log messages from this class will then be clearer because $php_errormsg is passed as part of the message. FIXME: - Comments - Error handling reduced to min, error are handled by PhingFile mainly
« More »

# Win32FileSystem¶

This is an abstract class for platform specific filesystem implementations you have to implement each method in the platform specific filesystem implementation classes Your local filesytem implementation must extend this class.

You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you _must_ always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives. FIXME: - Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
« More »

# WinNTFileSystem¶

FileSystem for Windows NT/2000.

You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you _must_ always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives. FIXME: - Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
« More »

# Writer¶

Abstract class for writing character streams.

« More »

# YamlFileParser¶

Implements a YamlFileParser to parse yaml-files as array.

« More »