Example usage for org.apache.commons.collections4 EnumerationUtils toList

List of usage examples for org.apache.commons.collections4 EnumerationUtils toList

Introduction

In this page you can find the example usage for org.apache.commons.collections4 EnumerationUtils toList.

Prototype

public static List<String> toList(final StringTokenizer stringTokenizer) 

Source Link

Document

Override toList(Enumeration) for StringTokenizer as it implements Enumeration<Object> for the sake of backward compatibility.

Usage

From source file:com.xpn.xwiki.internal.XWikiCfgConfigurationSource.java

@Override
public List<String> getKeys() {
    return EnumerationUtils.toList((Enumeration<String>) this.properties.propertyNames());
}