@@ -0,0 +1,1193 @@
+package org.mwc.debrief.core.contenttype;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0A%0Aimport org.eclipse.core.internal.content.TextContentDescriber;%0Aimport org.eclipse.core.runtime.Status;%0Aimport org.eclipse.core.runtime.content.IContentDescription;%0Aimport org.mwc.cmap.core.CorePlugin;%0A%0A/** import format test for SATC export files%0A * %0A * @author ian%0A *%0A */%0A@SuppressWarnings(%22restriction%22)%0Apublic class NMEAContentDescriber extends TextContentDescriber%0A%7B%0A%0A%09@Override%0A%09public int describe(InputStream contents, IContentDescription description)%0A%09%09%09throws IOException%0A%09%7B%0A%09%09BufferedReader r = null;%0A%09%09try%0A%09%09%7B%0A%09%09%09r = new BufferedReader(new InputStreamReader(contents));%0A%09%09%09String firstLine = r.readLine();%0A%09%09%09if (firstLine != null && firstLine.contains(%22$POSL%22))%0A%09%09%09%7B%0A%09%09%09%09return VALID;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09catch (Exception e)%0A%09%09%7B%0A%09%09%09CorePlugin.logError(Status.ERROR, %22NMEA content type error%22, e);%0A%09%09%7D%0A%09%09finally%0A%09%09%7B%0A%09%09%09try%0A%09%09%09%7B%0A%09%09%09%09if (r != null)%0A%09%09%09%09%09r.close();%0A%09%09%09%7D%0A%09%09%09catch (IOException e)%0A%09%09%09%7B%0A%09%09%09%09CorePlugin.logError(Status.ERROR, %22Couldn't close file%22, e);%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return super.describe(contents, description);%0A%09%7D%0A%0A%7D%0A

provide missing content describer