Example usage for org.apache.poi.hssf.record SupBookRecord getURL

List of usage examples for org.apache.poi.hssf.record SupBookRecord getURL

Introduction

In this page you can find the example usage for org.apache.poi.hssf.record SupBookRecord getURL.

Prototype

public String getURL() 

Source Link

Usage

From source file:org.ddt.listener.records.SupBookListener.java

License:Apache License

public void processRecord(Record record) {
    if (record instanceof SupBookRecord) {
        SupBookRecord sbr = (SupBookRecord) record;
        if (sbr.isExternalReferences()) {
            String url = cleanLink(sbr.getURL());
            if (url == null || url.trim().equals(""))
                return;
            Link l = new Link(4);
            l.addUnkownPath(url);/*w w w .  ja  va2s  .  co m*/
            this.add(l);
        }
    }
}