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