Java Integer Create toIntHeader(String value)

Here you can find the source of toIntHeader(String value)

Description

to Int Header

License

Open Source License

Declaration

public static int toIntHeader(String value) 

Method Source Code

//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);
    }
}

Related

  1. toInternLink(String title, String url)
  2. toInterval(long i)
  3. toIntExact(long value)
  4. toIntExp(String charExp)
  5. toIntFormat(String value)
  6. toIntLE(byte[] value)
  7. toIntList(String valus)
  8. toIntMatrix(Number[][] matrix)
  9. toIntOrNull(String string)