title: Parse Integer error
body: <p>For some reason I cant get a string number value to convert to an integer the error I get is
  run:</p>
  
  <pre><code>Exception in thread "main" java.lang.NumberFormatException: For input string: "6327818260"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:495)
      at java.lang.Integer.parseInt(Integer.java:527)
      at MyDirectory.getsize(MyDirectory.java:18)
      at a19010.main(a19010.java:79)
  </code></pre>
  
  <p>Java Result: 1</p>
  
  <p>If my input string is "6327818260" why can't it become an integer? my code is</p>
  
  <pre><code>public String getsize()
  {
    int intSize = Integer.parseInt(mySize);
    int count = 0;
    String dataType = "";
    while (intSize &gt; 1000)
    {   
     intSize = intSize / 1000;
     count++;
    } 
    switch (count)
    {
      case 0:
      dataType = "Bytes";
      break;
      case 1:
      dataType = "KB";
      break;
      case 2:
      dataType = "MB";
      break;
      case 3:
      dataType = "GB";
      break;
      case 4:
      dataType = "KB";
      break;    
    }   
      return intSize + dataType ;
  } 
  </code></pre>
  
  <p>mySize is taken from part of a string gotten from a text file here</p>
  
  <pre><code> public class MyDirectory 
  {
    String myName = "" ;
    String myNum = "";
    String mySize = "";
      public MyDirectory(String line)
  
    {
      line = line.trim();  
      String[] lineParts = line.split(" ");
       mySize = lineParts[0];
       myNum = lineParts[1];
       myName = lineParts[3];
    }
  </code></pre>
  
  <p>The line im splitting looks like 
     6327818260   6486  SUB-TOTAL: E:\WIS26\LCORRES</p>