Package com._1c.g5.v8.dt.md.pictures
Class MdZipPictureManifest
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.pictures.zip.AbstractZipPictureManifest<PictureDef>
-
- com._1c.g5.v8.dt.md.pictures.MdZipPictureManifest
-
- All Implemented Interfaces:
IPictureManifest
,IZipPictureManifest
public class MdZipPictureManifest extends AbstractZipPictureManifest<PictureDef>
IPictureManifest
implementation for zip basedPictureDef
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.platform.pictures.IPictureManifest
UNRESOLVED_PICTURE_MANIFEST
-
-
Constructor Summary
Constructors Constructor Description MdZipPictureManifest(PictureDef picture, IBmBlob blob)
Create instance ofMdZipPictureManifest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<InputStream>
readPictureContent()
ReadInputStream
from current zip based picture.-
Methods inherited from class com._1c.g5.v8.dt.platform.pictures.zip.AbstractZipPictureManifest
getCompositeId, getDirection, getInputStream, getPicture, getZipPictureContent, isTemplate, setZipPictureContent
-
-
-
-
Constructor Detail
-
MdZipPictureManifest
public MdZipPictureManifest(PictureDef picture, IBmBlob blob)
Create instance ofMdZipPictureManifest
- Parameters:
picture
- the source picture, cannot benull
blob
- the picture blob, cannot benull
-
-
Method Detail
-
readPictureContent
public Optional<InputStream> readPictureContent() throws IOException
Description copied from interface:IZipPictureManifest
ReadInputStream
from current zip based picture.- Returns:
InputStream
of zip, optional, nevernull
- Throws:
IOException
- if there is a problem to read the picture content
-
-