ZSearchFileLocated in /incubator/Zend/Search/Lucene/storage/ZSearchFile.php (line 28)
| Class | Description |
|---|---|
ZSearchFileFilesystem
|
Constructor __construct (line 34)
Class constructor. Open the file.
Destructor __destruct (line 40)
Class destructor. Close the file.
readBinary (line 375)
Reads binary data from the current position in the file and advances the file pointer.
readByte (line 94)
Reads a byte from the current position in the file and advances the file pointer.
readBytes (line 116)
Read num bytes from the current position in the file and advances the file pointer.
readInt (line 140)
Reads an integer from the current position in the file and advances the file pointer.
readLong (line 172)
Returns a long integer from the current position in the file and advances the file pointer.
readString (line 255)
Reads a string from the current position in the file and advances the file pointer.
readVInt (line 221)
Returns a variable-length integer from the current position in the file and advances the file pointer.
seek (line 69)
Sets the file position indicator and advances the file pointer.
The new position, measured in bytes from the beginning of the file, is obtained by adding offset to the position specified by whence, whose values are defined as follows: SEEK_SET - Set position equal to offset bytes. SEEK_CUR - Set position to current location plus offset. SEEK_END - Set position to end-of-file plus offset. (To move to a position before the end-of-file, you need to pass a negative value in offset.) Upon success, returns 0; otherwise, returns -1
tell (line 76)
Get file position.
writeByte (line 104)
Writes a byte to the end of the file.
writeBytes (line 128)
Writes num bytes of data (all, if $num===null) to the end of the file.
writeInt (line 156)
Writes an integer to the end of file.
writeLong (line 197)
Writes long integer to the end of file
writeString (line 312)
Writes a string to the end of file.
writeVInt (line 238)
Writes a variable-length integer to the end of file.
_fread (line 50)
Reads $length number of bytes at the current position in the file and advances the file pointer.
_fwrite (line 85)
Writes $length number of bytes (all, if $length===null) to the end of the file.
Documentation generated on Wed, 08 Mar 2006 04:56:40 -0800 by phpDocumentor 1.3.0RC4