Code example for InputStream

Methods: markSupported

0
			throws NotImplementedException, StorageException { 
		throw new NotImplementedException(); 
	} 
 
	private InputStream adaptedToSupportMarking(InputStream inputStream) {
		if (!inputStream.markSupported()) {
			return new BufferedInputStream(inputStream);
		} else { 
			return inputStream;
		} 
	} 
 
	/** 
	* Uploads a blocklist to the service. 
	*  
	* @param blockList 
	*            the blocklist definition. 
	* @throws StorageException 
	*             an exception representing any error which occurred during the 
	*             operation. 
	*/