dss/src/main/java/gov/samhsa/c2s/brms/service/guvnor/GuvnorServiceImpl.java
private String readAsString(InputStream inputStream) throws IOException {
        final StringBuffer ret = new StringBuffer();
        final BufferedReader reader = new BufferedReader(new InputStreamReader(
                inputStream));
        String line;
        while ((line = reader.readLine()) != null) {
            final StringBuilder builder = new StringBuilder();
            builder.append(line);
            builder.append("\n");
            ret.append(builder.toString());
        }
        return ret.toString();
    }
/**
     * Read as string.
     *
     * @param inputStream the input stream
     * @return the string
     * @throws IOException Signals that an I/O exception has occurred.
     */
Read as string.
@param inputStream the input stream
@return the string
@throws IOException Signals that an I/O exception has occurred.
Read as string . @param inputStream the input stream @return the string @throws IOException Signals that an I / O exception has occurred .
private String readAsString(InputStream inputStream) throws IOException {
        final StringBuffer ret = new StringBuffer();
        final BufferedReader reader = new BufferedReader(new InputStreamReader(
                inputStream));
        String line;
        while ((line = reader.readLine()) != null) {
            final StringBuilder builder = new StringBuilder();
            builder.append(line);
            builder.append("\n");
            ret.append(builder.toString());
        }
        return ret.toString();
    }
private String readAsString ( InputStream inputStream ) throws IOException { final StringBuffer ret = new StringBuffer ( ) ; final BufferedReader reader = new BufferedReader ( new InputStreamReader ( inputStream ) ) ; String line ; while ( ( line = reader . readLine ( ) ) != null ) { final StringBuilder builder = new StringBuilder ( ) ; builder . append ( line ) ; builder . append ( "\n" ) ; ret . append ( builder . toString ( ) ) ; } return ret . toString ( ) ; }
Read as string.
Read as string .