apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: File_Archive_Reader_Bzip2

Source Location: /File_Archive-1.0.1/File/Archive/Reader/Bzip2.php

Class Overview

File_Archive_Reader
   |
   --File_Archive_Reader_Archive
      |
      --File_Archive_Reader_Bzip2

Uncompress a file that was compressed in the Bzip2 format


Variables

Methods


Inherited Variables

Inherited Methods

Class: File_Archive_Reader_Archive

File_Archive_Reader_Archive::File_Archive_Reader_Archive()
File_Archive_Reader_Archive::close()
File_Archive_Reader_Archive::next()

Class: File_Archive_Reader

File_Archive_Reader::close()
Put back the reader in the state it was before the first call
File_Archive_Reader::extract()
Sends the whole reader to $writer
File_Archive_Reader::extractFile()
Extract only one file (given by the URL)
File_Archive_Reader::getData()
Reads some data from the current file
File_Archive_Reader::getDataFilename()
If the current file of the archive is a physical file,
File_Archive_Reader::getFilename()
Returns the name of the file currently read by the reader
File_Archive_Reader::getMime()
Returns the MIME associated with the current file
File_Archive_Reader::getStandardURL()
Returns the standard path
File_Archive_Reader::getStat()
Returns an array of statistics about the file (see the PHP stat function for more information)
File_Archive_Reader::next()
Move to the next file in the reader
File_Archive_Reader::select()
Move to the next file whose name is in directory $filename or is exactly $filename
File_Archive_Reader::sendData()
Sends the current file to the Writer $writer
File_Archive_Reader::skip()
Skip some data and returns how many bytes have been skipped

Class Details

[line 38]
Uncompress a file that was compressed in the Bzip2 format


[ Top ]


Class Variables

$alreadyRead =  false

[line 40]


Type:   mixed


[ Top ]

$bzfile =  null

[line 41]


Type:   mixed


[ Top ]

$tmpName =  null

[line 42]


Type:   mixed


[ Top ]



Method Detail

close   [line 47]

void close( )

  • See: File_Archive_Reader::close()

Overrides File_Archive_Reader_Archive::close() (parent method not documented)
[ Top ]

getData   [line 110]

void getData( [ $length = -1])

  • See: File_Archive_Reader::getData()

Overrides File_Archive_Reader::getData() (Reads some data from the current file)

Parameters:

   $length   — 

[ Top ]

getFilename   [line 97]

void getFilename( )

Return the name of the single file contained in the archive deduced from the name of the archive (the extension is removed)
  • See: File_Archive_Reader::getFilename()

Overrides File_Archive_Reader::getFilename() (Returns the name of the file currently read by the reader)
[ Top ]

next   [line 61]

void next( )

  • See: File_Archive_Reader::next()

Overrides File_Archive_Reader_Archive::next() (parent method not documented)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:20:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.