The remaining steps process the NamingEnumeration object and extract the search results.
其余的步骤处理NamingEnumeration对象并提取搜索结果。
The search() method returns a NamingEnumeration object, which contains your search results.
search() 方法返回 NamingEnumeration 对象,其中包含搜索结果。
To fetch individual search results, you just need to iterate through the NamingEnumeration object.
要提取单个的搜索结果,只需在NamingEnumeration对象上进行迭代即可。
应用推荐