Example usage for org.apache.poi.hpsf CustomProperties keySet

List of usage examples for org.apache.poi.hpsf CustomProperties keySet

Introduction

In this page you can find the example usage for org.apache.poi.hpsf CustomProperties keySet.

Prototype

@Override
@SuppressWarnings({ "rawtypes", "unchecked" })
public Set keySet() 

Source Link

Document

Returns a set of all the names of our custom properties.

Usage

From source file:edu.ku.brc.specify.tasks.subpane.wb.ConfigureXLS.java

License:Open Source License

/**
 * @param props/*www .  j  a  v a2 s  .c o m*/
 * @return
 */
protected boolean usesViewOrderKey(CustomProperties props) {
    if (props != null && props.keySet().size() > 0) {
        String key = props.keySet().iterator().next().toString();
        return key.startsWith(POIFS_COL_KEY_PREFIX);
    } else {
        return false;
    }
}