Example usage for org.apache.poi.util HexDump shortToHex

List of usage examples for org.apache.poi.util HexDump shortToHex

Introduction

In this page you can find the example usage for org.apache.poi.util HexDump shortToHex.

Prototype

public static String shortToHex(int value) 

Source Link

Usage

From source file:com.pnf.plugin.ole.parser.xls.BiffRecord.java

License:Apache License

public String toString() {
    StringBuffer sb = new StringBuffer(64);
    sb.append("Offset=").append(HexDump.intToHex(offset)).append("(").append(offset).append(")");
    sb.append(" recno=").append(recNum);
    sb.append(" sid=").append(HexDump.shortToHex(sid));
    sb.append(" size=").append(HexDump.shortToHex(size)).append("(").append(size).append(")");

    return sb.toString();
}