Package net.ideahut.springboot.object
Class Multimedia
java.lang.Object
net.ideahut.springboot.object.Multimedia
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()intgetMime()intgetSize()chargetType()intgetWidth()static Multimediaof(byte[] bytes) static MultimediasetHeight(int height) setWidth(int width)
-
Field Details
-
IMAGE
public static final char IMAGE- See Also:
-
AUDIO
public static final char AUDIO- See Also:
-
VIDEO
public static final char VIDEO- See Also:
-
-
Method Details
-
getBytes
public byte[] getBytes() -
getMime
-
getExtention
-
getType
public char getType() -
getSize
public int getSize() -
getWidth
public int getWidth() -
setWidth
-
getHeight
public int getHeight() -
setHeight
-
of
-
of
-