How can I send data to a port using java... what classes can I use...

I'm not talking about a network port but a device like that of the monitor of a cash register connected to a computer?