|
| | closeReader () |
| | Closes the reader.
|
| |
| | doesSupportStreamWrapper () |
| | Returns whether stream wrappers are supported.
|
| |
|
| ensureStreamOpened () |
| |
| | openReader (string $filePath) |
| | Opens the file at the given file path to make it ready to be read.
|
| |
◆ close()
| OpenSpout\Reader\AbstractReader::close |
( |
| ) |
|
|
finalinherited |
◆ closeReader()
| OpenSpout\Reader\XLSX\Reader::closeReader |
( |
| ) |
|
|
protected |
◆ doesSupportStreamWrapper()
| OpenSpout\Reader\XLSX\Reader::doesSupportStreamWrapper |
( |
| ) |
|
|
protected |
◆ getSheetIterator()
| OpenSpout\Reader\XLSX\Reader::getSheetIterator |
( |
| ) |
|
Returns an iterator to iterate over sheets.
- Return values
-
- Exceptions
-
| Exception::ReaderNotOpenedException | If called before opening the reader |
Implements OpenSpout\Reader\ReaderInterface.
◆ open()
| OpenSpout\Reader\AbstractReader::open |
( |
string | $filePath | ) |
|
|
inherited |
Prepares the reader to read the given file.
It also makes sure that the file exists and is readable.
- Parameters
-
| string | $filePath | Path of the file to be read |
- Exceptions
-
| IOException | If the file at the given path does not exist, is not readable or is corrupted |
Implements OpenSpout\Reader\ReaderInterface.
◆ openReader()
| OpenSpout\Reader\XLSX\Reader::openReader |
( |
string | $filePath | ) |
|
|
protected |
Opens the file at the given file path to make it ready to be read.
It also parses the sharedStrings.xml file to get all the shared strings available in memory and fetches all the available sheets.
- Parameters
-
| string | $filePath | Path of the file to be read |
- Exceptions
-
| IOException | If the file at the given path or its content cannot be read |
| NoSheetsFoundException | If there are no sheets in the file |
Reimplemented from OpenSpout\Reader\AbstractReader.
The documentation for this class was generated from the following file:
- lib/openspout/src/Reader/XLSX/Reader.php