Package io.surati.gap.payment.base.db
Class DbImage
- java.lang.Object
-
- io.surati.gap.payment.base.db.DbImage
-
-
Constructor Summary
Constructors Constructor Description DbImage(DataSource source, Long meanid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
content()
String
contentBase64()
int
dpi()
double
height()
double
heightpx()
void
update(double width, double height, int dpi)
void
update(InputStream content, String ext)
double
width()
double
widthpx()
-
-
-
Constructor Detail
-
DbImage
public DbImage(DataSource source, Long meanid)
-
-
Method Detail
-
content
public InputStream content() throws IOException
- Specified by:
content
in interfaceImage
- Throws:
IOException
-
update
public void update(InputStream content, String ext) throws IOException
- Specified by:
update
in interfaceImage
- Throws:
IOException
-
contentBase64
public String contentBase64()
- Specified by:
contentBase64
in interfaceImage
-
update
public void update(double width, double height, int dpi)
-
-