package nl.beehivejava.scriptj.parser;

import nl.beehivejava.scriptj.PluginInformation;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author Lesley
 */
public interface PluginInformationParser {

    PluginInformation parse(InputStream is) throws IOException;

}

@@ -33,16 +33,54 @@
 arser;%0A%0A
+import nl.beehivejava.scriptj.Plugin;%0A
 import n
@@ -120,16 +120,16 @@
 mation;%0A
-
 %0Aimport 
@@ -182,16 +182,129 @@
 m;%0A%0A/**%0A
+ * A %7B@code PluginInformationParser%7D can convert/parse an %7B@link InputStream%7D to a %7B@link PluginInformation%7D.%0A *%0A
  * @auth
@@ -317,16 +317,37 @@
 ley%0A */%0A
+@FunctionalInterface%0A
 public i
@@ -382,16 +382,523 @@
 rser %7B%0A%0A
+    /**%0A     * Parses the given %7B@link InputStream%7D to a %7B@link PluginInformation%7D.%0A     *%0A     * @param is The %7B@code InputStream%7D that holds the data of the %7B@code PluginInformation%7D, should not be%0A     *           %7B@code null%7D.%0A     * @return A %7B@code PluginInformation%7D holding the data of a %7B@link Plugin%7D.%0A     * @throws IOException          If some error occurs while reading from the %7B@code InputStream%7D.%0A     * @throws NullPointerException If the given %7B@code InputStream%7D is %7B@code null%7D.%0A     */%0A
     Plug

Add documentation and mark PluginInformationParser a FunctionInterface.