|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.build.Parser
public abstract class Parser
This is class defines methods for parser implementations. A parser is applied to create database instances.
| Field Summary | |
|---|---|
java.lang.String |
file
Input file. |
| Constructor Summary | |
|---|---|
Parser(java.lang.String fn)
Constructor. |
|
| Method Summary | |
|---|---|
abstract void |
parse(Builder build)
Parses all nodes and sends events to the specified builder. |
abstract double |
percent()
Returns a value from 0 to 1, representing the current progress. |
abstract java.lang.String |
title()
Returns a compact description of the current progress. |
abstract java.lang.String |
toString()
Returns detailed progress information. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String file
| Constructor Detail |
|---|
public Parser(java.lang.String fn)
fn - input filename.| Method Detail |
|---|
public abstract void parse(Builder build)
throws java.io.IOException
build - event listener.
java.io.IOException - I/O exceptionpublic abstract double percent()
public abstract java.lang.String title()
public abstract java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||