软件包 | 描述 |
---|---|
java.beans |
包含的类发展豆相关--基于JavaBeans组件™架构。
|
Modifier and Type | Method and Description |
---|---|
ExceptionListener |
XMLDecoder.getExceptionListener()
获取此流的异常处理程序。
|
ExceptionListener |
Encoder.getExceptionListener()
获取此流的异常处理程序。
|
Modifier and Type | Method and Description |
---|---|
static DefaultHandler |
XMLDecoder.createHandler(Object owner, ExceptionListener el, ClassLoader cl)
创建SAX解析器,可以用来解析嵌入式XML档案的
XMLEncoder 类创建了一个新的处理程序。
|
void |
XMLDecoder.setExceptionListener(ExceptionListener exceptionListener)
设置此流
exceptionListener 异常处理程序。
|
void |
Encoder.setExceptionListener(ExceptionListener exceptionListener)
设置此流
exceptionListener 异常处理程序。
|
Constructor and Description |
---|
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener)
建立阅读档案的
XMLEncoder 类创建一个新的输入流。
|
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl)
建立阅读档案的
XMLEncoder 类创建一个新的输入流。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.