|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.mysql.v0_5.impl.WayReader
public class WayReader
Reads all ways from a database ordered by their identifier. It combines the output of the way table readers to produce fully configured way objects.
| Constructor Summary | |
|---|---|
WayReader(DatabaseLoginCredentials loginCredentials,
boolean readAllUsers)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
EntityHistory<Way> |
next()
|
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WayReader(DatabaseLoginCredentials loginCredentials,
boolean readAllUsers)
loginCredentials - Contains all information required to connect to the database.readAllUsers - If this flag is true, all users will be read from the database
regardless of their public edits flag.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<EntityHistory<Way>>public EntityHistory<Way> next()
next in interface java.util.Iterator<EntityHistory<Way>>public void remove()
remove in interface java.util.Iterator<EntityHistory<Way>>public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||