public class ThumbnailResponseParser extends DefaultFileResponseParser {
@Override
public BoxThumbnail parse(IBoxResponse response) throws BoxRestException {
BoxThumbnail obj = new BoxThumbnail();
obj.setContent((InputStream) super.parse(response));
obj.setContentLength(response.getContentLength());
return obj;
}