Code example for StringReader

0
	private void reconcile() { 
		try { 
			IMakefile makefile = fManager.getWorkingCopy(fEditor.getEditorInput());
			if (makefile != null) {
				String content = fDocumentProvider.getDocument(fEditor.getEditorInput()).get();
				StringReader reader = new StringReader(content);
				try { 
					makefile.parse(makefile.getFileURI(), reader);
				} catch (IOException e) {
				} 
				 
				fOutliner.update();
			} 
		} finally { 
			try { 
				if (fMakefileReconcilingParticipant != null) {
					fMakefileReconcilingParticipant.reconciled();
				} 
			} finally { 
				// 
			}