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.
CatalogcaseSensitive, catfile, stack, tokenStack, top| Constructor and Description |
|---|
TR9401CatalogReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
readCatalog(Catalog catalog,
InputStream is)
Start parsing an OASIS TR9401 Open Catalog file.
|
finalize, getCaseSensitive, nextChar, nextToken, readCatalog, setCaseSensitivepublic void readCatalog(Catalog catalog, InputStream is) throws MalformedURLException, 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 CatalogReaderreadCatalog in class TextCatalogReadercatalog - The Catalog to populateis - The input stream from which to read the TR9401 CatalogMalformedURLException - Improper fileUrlIOException - Error reading catalog fileCopyright © 2005–2017 Oracle Corporation. All rights reserved.