|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.resolver.readers.TextCatalogReader
public class TextCatalogReader
Parses plain text Catalog files.
This class reads plain text Open Catalog files.
Catalog| Constructor Summary | |
|---|---|
TextCatalogReader()
Construct a CatalogReader object. |
|
| Method Summary | |
|---|---|
boolean |
getCaseSensitive()
|
void |
readCatalog(Catalog catalog,
java.io.InputStream is)
Read a catalog from an input stream. |
void |
readCatalog(Catalog catalog,
java.lang.String fileUrl)
Start parsing a text catalog file. |
void |
setCaseSensitive(boolean isCaseSensitive)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextCatalogReader()
| Method Detail |
|---|
public void setCaseSensitive(boolean isCaseSensitive)
public boolean getCaseSensitive()
public void readCatalog(Catalog catalog,
java.lang.String fileUrl)
throws java.net.MalformedURLException,
java.io.IOException
nextEntry.
readCatalog in interface CatalogReaderfileUrl - The URL or filename of the catalog file to processcatalog - The catalog for which this reader is called.
java.net.MalformedURLException - Improper fileUrl
java.io.IOException - Error reading catalog file
public void readCatalog(Catalog catalog,
java.io.InputStream is)
throws java.net.MalformedURLException,
java.io.IOException
CatalogReaderThis class reads a catalog from an input stream.
readCatalog in interface CatalogReadercatalog - The catalog for which this reader is called.is - The input stream that is to be read.
java.io.IOException - if the URL cannot be read.
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||