|  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ExceptionListener 的软件包 | |
|---|---|
| java.beans | 包含与开发 beans 有关的类,即基于 JavaBeansTM 架构的组件。 | 
| java.beans 中 ExceptionListener 的使用 | 
|---|
| 返回 ExceptionListener 的 java.beans 中的方法 | |
|---|---|
  ExceptionListener |  
     Encoder.getExceptionListener() 获得此流的异常处理程序。  |  
    
  ExceptionListener |  
     XMLDecoder.getExceptionListener() 获得此流的异常处理程序。  |  
    
| 参数类型为 ExceptionListener 的 java.beans 中的方法 | |
|---|---|
  void |  
     Encoder.setExceptionListener(ExceptionListener exceptionListener) 将此流的异常处理程序设置为 exceptionListener。 |  
    
  void |  
     XMLDecoder.setExceptionListener(ExceptionListener exceptionListener) 将此流的异常处理程序设置为 exceptionListener。 |  
    
| 参数类型为 ExceptionListener 的 java.beans 中的构造方法 | |
|---|---|
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener) 创建一个新的输入流,以读取由 XMLEncoder 类创建的档案。 |  
    |
XMLDecoder(InputStream in, Object owner, ExceptionListener exceptionListener, ClassLoader cl) 创建一个新的输入流,以读取由 XMLEncoder 类创建的档案。 |  
    |
 
        
      
  |  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。