public class GXBook extends Object implements Externalizable
Constructor and Description |
---|
GXBook() |
Modifier and Type | Method and Description |
---|---|
void |
append(GXPlainPage page)
Appends a single page to the end of this Book.
|
int |
getNumberOfPages()
Returns the number of pages in this Book.
|
GXPlainPage |
getPage(int i)
Returns the page of the book specified by page index
|
GXPlainPage[] |
getPages()
Returns the pages of the book.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public void append(GXPlainPage page)
page
- public GXPlainPage[] getPages()
public GXPlainPage getPage(int i)
i
- public int getNumberOfPages()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
java.io.Externalizable#readExternal(ObjectInput)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
java.io.Externalizable#writeExternal(ObjectOutput)
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.