AMWA-TV / maj

Media Authoring with Java API - for MXF, AAF, IMF and Reg-XML
Apache License 2.0
17 stars 12 forks source link

"cannot resolve symbol 'iface'" #12

Open ilansr opened 6 years ago

ilansr commented 6 years ago

Hi,

Took code from you example in README file:

package com.ilanaaf;

import tv.amwa.maj.io.aaf.AAFFactory;
import tv.amwa.maj.iface.Preface;
import tv.amwa.maj.extensions.avid.AvidFactory;
import tv.amwa.maj.model.Preface;

import java.io.IOException;

public class Main {

    public static void main(String[] args) {
        AvidFactory.registerAvidExtensions(); // refisters AAF and common Avid extensions
        try {
            Preface fromAAF = AAFFactory.readPreface("/Users/ilanrackover/downloads/SequenceNameInAvid.aaf");

        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

I am using Intelij, as IDE - it does not recognise import of tv.amwa.maj.iface.Preface;

Please assist