public static Submission readSubmission(final InputStream inputStream) throws IOException {
        checkNotNull(inputStream);
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream))) {
            return readSubmission(reader);
        }
    }
public static Submission readSubmission ( final InputStream inputStream ) throws IOException { checkNotNull ( inputStream ) ; try ( BufferedReader reader = new BufferedReader ( new InputStreamReader ( inputStream ) ) ) { return readSubmission ( reader ) ; } }
Read a submission from the specified input stream.

@param inputStream input stream, must not be null
@return a submission read from the specified input stream
@throws IOException if an I/O error occurs