Code example for StringBufferInputStream

0
//		} catch (JSONException e) { 
//			e.printStackTrace(); 
//		} 
		String json = jobj.toString();
		logger.debug("Sent back to client:"+json);
		inputStream = new StringBufferInputStream(json);
		  
		return "success"; 
	} 
	public static void main(String[] args) {
	} 
	 
	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	} 
	 
	public InputStream getInputStream() {
		return inputStream;
	} 
	public void setCommand(String command) {
Stop searching for code, let great code find you!  Add Codota to your java IDE