Code example for InputStream

Methods: markSupported

0
			loadOutputCache(); 
		if (outputCache == null)
			return null; 
		InputStream inputStream = registerInputStream(outputCache
				.getNewInputStream()); 
		if (inputStream.markSupported())
			return inputStream;
		inputStream = registerInputStream(new BufferedInputStream(inputStream));
		return inputStream;
	} 
 
	private final InputStream registerInputStream(final InputStream inputStream) {
		inputStreamList.add(inputStream);
		return inputStream;
	} 
 
	public String getMD5Hash() throws NoSuchAlgorithmException, LimitException,
			IOException { 
		if (outputCache == null)
			loadOutputCache(); 
Experience pair programming with AI  Get Codota for Java