Пример #1
0
 public void setPicture_ip5(Blob picture_ip5) {
   if (picture_ip5 != null) {
     CompressPic.compressPic(picture_ip5.getFile().getPath(), picture_ip5.getFile().getPath());
   }
   this.picture_ip5 = picture_ip5;
 }
Пример #2
0
 public void setPicture(Blob picture) {
   if (picture != null) {
     CompressPic.compressPic(picture.getFile().getPath(), picture.getFile().getPath());
   }
   this.picture = picture;
 }