public class Pages extends Object
| Constructor and Description |
|---|
Pages(int pageSize) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
get(int no) |
int |
getFilled(int no) |
int |
getLastNo()
number of pages used.
|
int |
getSize() |
void |
open(Reader src) |
int |
read(int pageNo,
int pageUsed) |
void |
shrink(int count)
Remove count pages from the beginning
|
String |
toString() |
public void open(Reader src)
public char[] get(int no)
public int getFilled(int no)
public int getLastNo()
public int getSize()
public int read(int pageNo,
int pageUsed)
throws IOException
IOExceptionpublic void shrink(int count)
Copyright © 1998–2017 1&1. All rights reserved.