InputStream implemented on top of APR file IO.  
 More...
#include <fileinputstream.h>
InputStream implemented on top of APR file IO. 
 
◆ FileInputStream() [1/3]
      
        
          | log4cxx::helpers::FileInputStream::FileInputStream  | 
          ( | 
          const LogString &  | 
          filename | ) | 
           | 
        
      
 
Creates a FileInputStream by opening a connection to an actual file, the file named by the path name name in the file system. 
- Parameters
 - 
  
    | filename | The system-dependent file name.  | 
  
   
 
 
◆ FileInputStream() [2/3]
      
        
          | log4cxx::helpers::FileInputStream::FileInputStream  | 
          ( | 
          const logchar *  | 
          filename | ) | 
           | 
        
      
 
 
◆ FileInputStream() [3/3]
      
        
          | log4cxx::helpers::FileInputStream::FileInputStream  | 
          ( | 
          const File &  | 
          aFile | ) | 
           | 
        
      
 
Creates a FileInputStream by opening a connection to an actual file, the file named by the File object file in the file system. 
- Parameters
 - 
  
    | aFile | The file to be opened for reading.  | 
  
   
 
 
◆ ~FileInputStream()
  
  
      
        
          | virtual log4cxx::helpers::FileInputStream::~FileInputStream  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ close()
  
  
      
        
          | void log4cxx::helpers::FileInputStream::close  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ read()
  
  
      
        
          | int log4cxx::helpers::FileInputStream::read  | 
          ( | 
          ByteBuffer &  | 
          buf | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Reads a sequence of bytes into the given buffer. 
- Parameters
 - 
  
    | buf | The buffer into which bytes are to be transferred.  | 
  
   
- Returns
 - the total number of bytes read into the buffer, or -1 if there is no more data because the end of the stream has been reached. 
 
Implements log4cxx::helpers::InputStream.
 
 
The documentation for this class was generated from the following file: