Classes, interfaces and traits
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 »
BufferedReader¶
Convenience class for reading files.
« 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 »
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 »
BufferedWriter¶
Convenience class for writing files.
« More »
FilterReader¶
Wrapper class for readers, which can be used to apply filters.
« More »
StringReader¶
Dummy class for reading from string of characters.
« 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 »
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 »
IOException¶
Extends Exception to take advantage of methods therein.
« More »
PhingFile¶
An abstract representation of file and directory pathnames.
« More »
Writer¶
Abstract class for writing character streams.
« More »
FileOutputStream¶
Output stream subclass for file streams.
« 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 »
ConsoleReader¶
Convenience class for reading console input.
« More »
OutputStream¶
Wrapper class for PHP stream that supports write operations.
« More »
Reader¶
Abstract class for reading character streams.
« More »