Moved methods in a seperate helper class.

These "convert" methods were static methods, so I think they
belong in a helper class. They should not overload the "AbstractArrow"
class instead.
I solved compatibility issues with "switch" statements
(Java 6 does not support switch statements with Strings)