public class TR9401CatalogReader extends TextCatalogReader
This class reads OASIS Open Catalog files, returning a stream of tokens.
This code interrogates the following non-standard system properties:
Sets the debug level. A value of 0 is assumed if the property is not set or is not a number.
Catalog
caseSensitive, catfile, stack, tokenStack, top
Constructor and Description |
---|
TR9401CatalogReader() |
Modifier and Type | Method and Description |
---|---|
void |
readCatalog(Catalog catalog,
java.io.InputStream is)
Start parsing an OASIS TR9401 Open Catalog file.
|
finalize, getCaseSensitive, nextChar, nextToken, readCatalog, setCaseSensitive
public void readCatalog(Catalog catalog, java.io.InputStream is) throws java.net.MalformedURLException, java.io.IOException
nextEntry
.
In a TR9401 Catalog the 'DELEGATE' entry delegates public identifiers. There is no delegate entry for system identifiers or URIs.
readCatalog
in interface CatalogReader
readCatalog
in class TextCatalogReader
catalog
- The Catalog to populateis
- The input stream from which to read the TR9401 Catalogjava.net.MalformedURLException
- Improper fileUrljava.io.IOException
- Error reading catalog fileCopyright ? 2001-2003 Apache Software Foundation. All Rights Reserved.