title: Java get barcode informaton from barcode scanner
body: <p>I have been searching for this. All the related Java APIs are worked on images. They get the information from barcode contained in the images and print barcode to images.</p>
  
  <p>My question is how to get the barcode directly from the scanner in Java?  Is there any API I am missing to read barcode directly from scanner? Or, whether I need to generate in-memory image from the information got by the scanner? </p>