org.apache.xindice.core.filer
Class Paged.Page
java.lang.Object
|
+--org.apache.xindice.core.filer.Paged.PageKey
|
+--org.apache.xindice.core.filer.Paged.Page
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- Paged
- protected final class Paged.Page
- extends Paged.PageKey
Paged file's page
read
public void read()
throws IOException
- Reads a page into the memory, once. Subsequent calls are ignored.
write
public void write()
throws IOException
- Writes out the header into the this.data, and adds a page to the set of
dirty pages.
flush
public void flush()
throws IOException
- Flushes content of the dirty page into the file
getPageHeader
public Paged.PageHeader getPageHeader()
setKey
public void setKey(Key key)
getKey
public Key getKey()
streamTo
public void streamTo(OutputStream os)
throws IOException
streamFrom
public void streamFrom(InputStream is)
throws IOException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.