Rewrote both file i/o classes to have a common BaseFileIo class. Signed-off-by: Roland Häder <roland@mxchange.org>
Fixed reading directories. Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
Commented out noisy debug lines. Signed-off-by: Roland Häder <roland@mxchange.org>
Improved directory (non-recursive) reading: - Refactured FrameworkDirectoryPointer to use DirectoryIterator (SPL). - The use of isDot() makes excluding '.' and '..' obsolete (would be double), so more classes can be improved here. - Also use ObjectFactory instead of direct class name for better flexibility. Signed-off-by: Roland Häder <roland@mxchange.org>
Improved some debug messages with method's name. Signed-off-by: Roland Häder <roland@mxchange.org>
Copyright year updated, converted double->single quotes
Updated domain without a dash :(
Made lower to upper case: - NULL - FALSE - TRUE As these are constants and the lower-case varriants are keywords
Added line number to debug lines as this will become the default
Rewrote core: - LocalFileDatabase refactured to use FileIoHandler, please DELETE all your db/*/*.serialized database files, this "new" file format is incompatible and thanks to hashing it is a little more secure. - A lot other renames/fixes
Don't need this for now
Temporary added very noisy debug lines
Some fixes/improvements: - Fixed bug in recursive directory scanning mechanism - Added more debug lines - Use NULL instead null to make Midnight Commander's CoolEdit happy! :-)
Copyright updated
Some minor rewrites
Some cleanups, more usage of ObjectFactory: - Used more ObjectFactory to instance a new class (in local file database) - The class LocalFileDatabase and CompressorChannel can now be instanced without any paramters - Renamed 'null' to 'NULL'
Copyright updated
'public static final' is correct
Copyright upgraded to 2010
State (see State Pattern) prepared, a lot reworked/refactured - New interfaces and exceptions added for states - Dead-loop fixed (was caused by previous refacturing - Misc cleanups/fixes