View Javadoc
1   package org.oxerr.okcoin.rest.dto.valuereader;
2   
3   import java.io.IOException;
4   import java.io.InputStream;
5   
6   import javax.annotation.Nullable;
7   
8   import org.apache.http.entity.ContentType;
9   
10  public class VoidValueReader implements ValueReader<Void>{
11  
12  	private static final VoidValueReader INSTANCE = new VoidValueReader();
13  
14  	public static final VoidValueReader getInstance() {
15  		return INSTANCE;
16  	}
17  
18  	/**
19  	 * {@inheritDoc}
20  	 */
21  	@Override
22  	public Void read(InputStream inputStream,
23  		@Nullable ContentType contentType) throws IOException {
24  		return null;
25  	}
26  
27  }