| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| private static final String | |
| pack-priv StringBuilder | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | EXTERNAL_XML_VERSION
Version number for the format of exported properties files. |
| pack-priv String | |
| private Properties | |
| private static final String | |
| private static final String | |
| private static final String | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| ALLOWED_COMMENT | back to summary |
|---|---|
| pack-priv static final String ALLOWED_COMMENT | |
| ALLOWED_ELEMENTS | back to summary |
|---|---|
| pack-priv static final String ALLOWED_ELEMENTS | |
| ATTR_KEY | back to summary |
|---|---|
| private static final String ATTR_KEY | |
| buf | back to summary |
|---|---|
| pack-priv StringBuilder buf | |
| ELEMENT_COMMENT | back to summary |
|---|---|
| private static final String ELEMENT_COMMENT | |
| ELEMENT_ENTRY | back to summary |
|---|---|
| private static final String ELEMENT_ENTRY | |
| ELEMENT_ROOT | back to summary |
|---|---|
| private static final String ELEMENT_ROOT | |
| EXTERNAL_XML_VERSION | back to summary |
|---|---|
| private static final String EXTERNAL_XML_VERSION Version number for the format of exported properties files. | |
| key | back to summary |
|---|---|
| pack-priv String key | |
| properties | back to summary |
|---|---|
| private Properties properties | |
| PROPS_DTD | back to summary |
|---|---|
| private static final String PROPS_DTD | |
| PROPS_DTD_DECL | back to summary |
|---|---|
| private static final String PROPS_DTD_DECL | |
| PROPS_DTD_URI | back to summary |
|---|---|
| private static final String PROPS_DTD_URI | |
| rootElm | back to summary |
|---|---|
| pack-priv String rootElm | |
| sawComment | back to summary |
|---|---|
| pack-priv boolean sawComment | |
| sawRoot | back to summary |
|---|---|
| pack-priv boolean sawRoot | |
| validEntry | back to summary |
|---|---|
| pack-priv boolean validEntry | |
| PropertiesDefaultHandler | back to summary |
|---|---|
| public PropertiesDefaultHandler() | |
| characters | back to summary |
|---|---|
| public void characters(char[] ch, int start, int length) throws SAXException Overrides jdk. Implements jdk. Doc from jdk. Receive notification of character data inside an element. By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
| |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localName, String qName) throws SAXException Overrides jdk. Implements jdk. Doc from jdk. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| error | back to summary |
|---|---|
| public void error(SAXParseException x) throws SAXException Overrides jdk. Implements jdk. Doc from jdk. Receive notification of a recoverable parser error. The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each error, such as inserting the message in a log file or printing it to the console.
| |
| fatalError | back to summary |
|---|---|
| public void fatalError(SAXParseException x) throws SAXException Overrides jdk. Implements jdk. Doc from jdk. Report a fatal XML parsing error. The default implementation throws a SAXParseException. Application writers may override this method in a subclass if they need to take specific actions for each fatal error (such as collecting all of the errors into a single report): in any case, the application must stop all regular processing when this method is invoked, since the document is no longer reliable, and the parser may no longer report parsing events.
| |
| load | back to summary |
|---|---|
| public void load(Properties props, InputStream in) throws IOException, InvalidPropertiesFormatException, UnsupportedEncodingException | |
| resolveEntity | back to summary |
|---|---|
| public InputSource resolveEntity(String pubid, String sysid) throws SAXException, IOException Overrides jdk. Implements jdk. Doc from jdk. Resolve an external entity. Always return null, so that the parser will use the system identifier provided in the XML document. This method implements the SAX default behaviour: application writers can override it in a subclass to do special translations such as catalog lookups or URI redirection.
| |
| startDTD | back to summary |
|---|---|
| public void startDTD(String name, String publicId, String systemId) throws SAXException Overrides default jdk. Doc from jdk. Receive notification of the start of DTD declarations. The start/endDTD events appear within the start/endDocument events from ContentHandler.
| |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Overrides jdk. Implements jdk. Doc from jdk. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |
| startInternalSub | back to summary |
|---|---|
| public void startInternalSub() throws SAXException Overrides default jdk. Doc from jdk. Receive notification of the start of DTD internal subset.
| |
| store | back to summary |
|---|---|
| public void store(Properties props, OutputStream os, String comment, Charset charset) throws IOException | |
| warning | back to summary |
|---|---|
| public void warning(SAXParseException x) throws SAXException Overrides jdk. Implements jdk. Doc from jdk. Receive notification of a parser warning. The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each warning, such as inserting the message in a log file or printing it to the console.
| |