simplifying AlternativeFormatInputPart with better use of enum
Merge pull request #59 from zluspai/master

simplifying AlternativeFormatInputPart with better use of enum