It might be better to restrict this class's functionality by providing two methods parseCommaSeperatedFields and parseTabSeperatedFields and then making the general parseFields(String, String) method private.