Code example for StringWriter

Methods: closetoString

		writer.append(line + "\n");
	protected String output(GoingConcerns concerns, String... command) {
		try { 
			return new GlindaInvocation(new JournalFile(FreedomFile 
					.fromString(writer.toString()), false), getCorrespondent(),
					concerns, command).output(now);
		} catch (AssumptionViolatedException e) {
			throw e;
		} catch (Exception e) {
			throw new AssertionError(e);
	protected void nowIs(String string) {
		now = new GlindaTimePointParser().parse(string);
Connect your IDE to all the code out there  Get Codota for Java