\Zend_Search_Lucene_Storage_Directory
- Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Search_Lucene_Storage_Directory
{
- // methods
- public abstract void close()
- public abstract array fileList()
- public abstract Zend_Search_Lucene_Storage_File createFile()
- public abstract void deleteFile()
- public abstract void purgeFile()
- public abstract boolean fileExists()
- public abstract integer fileLength()
- public abstract integer fileModified()
- public abstract void renameFile()
- public abstract void touchFile()
- public abstract Zend_Search_Lucene_Storage_File getFileObject()
Methods
public
- close() — Closes the store.
- createFile() — Creates a new, empty file in the directory with the given $filename.
- deleteFile() — Removes an existing $filename in the directory.
- fileExists() — Returns true if a file with the given $filename exists.
- fileLength() — Returns the length of a $filename in the directory.
- fileList() — Returns an array of strings, one for each file in the directory.
- fileModified() — Returns the UNIX timestamp $filename was last modified.
- getFileObject() — Returns a Zend_Search_Lucene_Storage_File object for a given $filename in the directory.
- purgeFile() — Purge file if it's cached by directory object
- renameFile() — Renames an existing file in the directory.
- touchFile() — Sets the modified time of $filename to now.