org.crosswire.jsword.book.sword.state
Interface OpenFileState
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- AbstractOpenFileState, GenBookBackendState, RawBackendState, RawFileBackendState, RawLDBackendState, ZLDBackendState, ZVerseBackendState
public interface OpenFileState
- extends Closeable
Marker interface for objects holding open files that should be freed up upon finishing
- Author:
- DM Smith
- See Also:
The GNU Lesser General Public License for details.
getBookMetaData
SwordBookMetaData getBookMetaData()
releaseResources
void releaseResources()
getLastAccess
long getLastAccess()
- Returns:
- latest access before releasing back to the pool
setLastAccess
void setLastAccess(long lastAccess)
- Sets the last access time
- Parameters:
lastAccess
- the time at which this instance was last accessed