Here you can find the source of toIntHeader(String value)
public static int toIntHeader(String value)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); public class Main { public static int toIntHeader(String value) { if (value == null) { return -1; }/* ww w. java 2s. c o m*/ return Integer.parseInt(value); } }