Parses a string and converts it to another type. Supports all applicable java-library classes.