agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/managers/monitors/parsers/SlurmJobStatusResponseParser.java
/**
	 * Splits the response by newline characters
	 * @param schedulerResponse the raw response from the remote scheduler
	 * @return a list of the {@code schedulerResponse} delimited by newlines and trimmed.
	 * @throws RemoteJobMonitorResponseParsingException if the response cannot be parsed
	 */
Splits the response by newline characters
@param schedulerResponse the raw response from the remote scheduler
@return a list of the  schedulerResponse delimited by newlines and trimmed.
@throws RemoteJobMonitorResponseParsingException if the response cannot be parsed
Splits the response by newline characters @param schedulerResponse the raw response from the remote scheduler @return a list of the schedulerResponse delimited by newlines and trimmed . @throws RemoteJobMonitorResponseParsingException if the response cannot be parsed
protected List<String> splitResponseByLine(String schedulerResponse)
			throws RemoteJobMonitorResponseParsingException
	{
		BufferedReader rdr = null;
		List<String> lines = new ArrayList<String>();
		try {
			rdr = new BufferedReader(new StringReader(schedulerResponse));
			for (String line = rdr.readLine(); line != null; line = rdr.readLine()) {
				lines.add(StringUtils.trimToEmpty(line));
			}
		}
		catch (Exception e) {
			throw new RemoteJobMonitorResponseParsingException(
					"Unable to parse the response from the scheduler: " + schedulerResponse);
		}
		finally {
			try { if (rdr != null) rdr.close();} catch (Throwable ignored) {}
		}
		return lines;
	}
protected List < String > splitResponseByLine ( String schedulerResponse ) throws RemoteJobMonitorResponseParsingException { BufferedReader rdr = null ; List < String > lines = new ArrayList < String > ( ) ; try { rdr = new BufferedReader ( new StringReader ( schedulerResponse ) ) ; for ( String line = rdr . readLine ( ) ; line != null ; line = rdr . readLine ( ) ) { lines . add ( StringUtils . trimToEmpty ( line ) ) ; } } catch ( Exception e ) { throw new RemoteJobMonitorResponseParsingException ( "Unable to parse the response from the scheduler: " + schedulerResponse ) ; } finally { try { if ( rdr != null ) rdr . close ( ) ; } catch ( Throwable ignored ) { } } return lines ; }
Splits the response by newline characters
 @param schedulerResponse the raw response from the remote scheduler
 @return a list of the {@code schedulerResponse} delimited by newlines and trimmed.
Splits the response by newline characters @param schedulerResponse the raw response from the remote scheduler @return a list of the { @code schedulerResponse } delimited by newlines and trimmed .