PHP Classes

Stream IO: Access files with classes similar to Java IO

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (29)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-12-22 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 251 All time: 7,240 This week: 1,128Up
Version License PHP version Categories  
stream-io 0.9BSD License4.3PHP 5, Files and Folders, Text proces...
Description Author  

This package can access files with classes similar to Java IO package.

It provides several types of interfaces to access read and write streams of data like InputStream, OutputStream, Socket, DataOutputStream, EncryptedOutputStream, etc..

It can be used also to read and write text streams with characters encoded in ASCII (7 bit) and UTF-8.

Picture of Tobias Marstaller
  Performance   Level  
Name: Tobias Marstaller <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 2154137 in Germany Germany
Week rank: 898 Up41 in Germany Germany Up

  Files folder image Files  
File Role Description
Files folder imagecharset (3 files)
Plain text file Example Example Example code for the main classes.
Plain text file PHP_IO.Lib.php Aux. Loads all classes of the library.
Plain text file PHP_IO.php Aux. Loads default classes if __autoload is defined otherwise defines __autoload to load all required classes.
Plain text file BigEndian.php Class Provides a bigendian conversion interface.
Plain text file BufferedReader.php Class Buffers a php-native stream for performance increasements. (Is currently slower as InputStreamReader; is to be imporved)
Plain text file Closable.php Class Implemented by all closable streams.
Plain text file CryptoException.php Class Thrown whenever Encrypted(Input/Output)Stream encounters errors during the en/de-cryption
Plain text file DataInputStream.php Class Provides the option to read complex data such as nested arrays and objects from a stream
Plain text file DataOutputStream.php Class Provides the option to write complex data such as nested arrays and objects to a stream
Plain text file EncryptedInputStream.php Class Provides the functionality to read encrypted data from a stream.
Plain text file EncryptedOutputStream.php Class Provides the functionality to write encrypted data to a stream.
Plain text file File.php Class Represents a file or directory.
Plain text file FileFilter.php Class Filters files according to their contents.
Plain text file FilenameFilter.php Class Filters files according to their filename/extension.
Plain text file FileOutputStream.php Class Provides the option to write raw bytes to a file
Plain text file Flushable.php Class Implemented by all flushble streams.
Plain text file InputStream.php Class Interface for simple read functionality.
Plain text file InputStreamReader.php Class Provides read functionality using different charsets.
Plain text file IOException.php Class Thrown whenever an error occurs.
Plain text file OutputStream.php Class Interface for simple write functionality.
Accessible without login Plain text file Class Contains all classes; No need to include anything else.
Plain text file PrintWriter.php Class Provides the option to write characters to a stream using different charsets
Plain text file RawInputStream.php Class Class for simple read functionality.
Plain text file RawOutputStream.php Class Class for simple write functionality.
Plain text file Socket.php Class Creates a Socket to the given computer/port and provides stream-interfaces.
Plain text file TemporaryFile.php Class Represents a temporary file.

  Files folder image Files  /  charset  
File Role Description
  Plain text file ASCII7.php Class Class for the ASCII7 charset.
  Plain text file Charset.php Class Interface for charsets to implement.
  Plain text file UTF8.php Class Class for the UTF8 charset. 32KB
Downloadstream-io-2011-12-22.tar.gz 20KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Anti_Mcrypt Download .zip .tar.gz Needed for EncryptedInputStream and EncryptedOutputStream Conditional
 Version Control Unique User Downloads Download Rankings  
 0%Total:251All time:7,240
 This week:0This week:1,128Up