Java API for AIF and AFS