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

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

Introduction

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

Prototype

public static String intToHex(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();
}