站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.1

Properties.Reader (NetBeans Debugger Core API) - NetBeans API Javadoc 5.5.1

org.netbeans.api.debugger/1 1.7.33

org.netbeans.api.debugger
Interface Properties.Reader

Enclosing class:
Properties

public static interface Properties.Reader

This class helps to store and read custom types using Properties.setObject(java.lang.String, java.lang.Object) and Properties.getObject(java.lang.String, java.lang.Object) methods. Implementations of this class should be stored in "META_INF\debugger" folder.


Method Summary
 String[] getSupportedClassNames()
          Returns array of classNames supported by this reader.
 Object read(String className, Properties properties)
          Reads object with given className.
 void write(Object object, Properties properties)
          Writes given object to given properties subfolder.
 

Method Detail

getSupportedClassNames

String[] getSupportedClassNames()
Returns array of classNames supported by this reader.

Returns:
array of classNames supported by this reader

read

Object read(String className,
            Properties properties)
Reads object with given className.

Parameters:
className - a name of class to be readed
properties - a properties subfloder containing properties for this object
Returns:
a new instance of className class

write

void write(Object object,
           Properties properties)
Writes given object to given properties subfolder.

Parameters:
object - a object to be saved
properties - a properties subfolder to be used

org.netbeans.api.debugger/1 1.7.33

Built on March 26 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.