|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 CatalogReader
fileUrl
- 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 filepublic void readCatalog(Catalog catalog, java.io.InputStream is) throws java.net.MalformedURLException, java.io.IOException
CatalogReader
This class reads a catalog from an input stream.
readCatalog
in interface CatalogReader
catalog
- 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 |