title: Java, Make sure a String contains only alphanumeric, spaces and dashes
body: <p>In Java, I need to make sure a String only contains <code>alphanumeric</code>, <code>space</code> and <code>dash</code> characters.</p>
  
  <p>I found the class <code>org.apache.commons.lang.StringUtils</code> and the almost adequate method <code>isAlphanumericSpace(String)</code>... but I also need to include dashes. </p>
  
  <p>What is the best way to do this?  I don't want to use Regular Expressions.</p>