org.jqurantree.tanzil
Class TanzilReader

java.lang.Object
  extended by org.jqurantree.tanzil.TanzilReader

public class TanzilReader
extends java.lang.Object

Used internally to initiate the orthography model by reading the embedded Tanzil XML JAR resource.

Author:
Kais Dukes

Field Summary
static java.lang.String TANZIL_RESOURCE_PATH
          The path to the Tanzil XML document, as an embedded JAR resource.
 
Constructor Summary
TanzilReader()
           
 
Method Summary
 Chapter[] readXml()
          Loads the orthography model.
 Chapter[] readXml(java.lang.String resourcePath)
          Loads the orthography model, from the specified embedded JAR resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TANZIL_RESOURCE_PATH

public static final java.lang.String TANZIL_RESOURCE_PATH
The path to the Tanzil XML document, as an embedded JAR resource.

See Also:
Constant Field Values
Constructor Detail

TanzilReader

public TanzilReader()
Method Detail

readXml

public Chapter[] readXml()
Loads the orthography model.

Returns:
a Chapter[] array

readXml

public Chapter[] readXml(java.lang.String resourcePath)
Loads the orthography model, from the specified embedded JAR resource.

Parameters:
resourcePath - the full path and name of the resource
Returns:
a Chapter[] array


Copyright© Kais Dukes, 2009. All Rights Reserved.