Class PlatformSinglePictureManifest
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.pictures.AbstractSinglePictureManifest<PlatformPicture>
-
- com._1c.g5.v8.dt.platform.picture.PlatformSinglePictureManifest
-
- All Implemented Interfaces:
IPictureManifest
public class PlatformSinglePictureManifest extends AbstractSinglePictureManifest<PlatformPicture>
IPictureManifest
implementation forPlatformPicture
with single picture
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.platform.pictures.IPictureManifest
UNRESOLVED_PICTURE_MANIFEST
-
-
Constructor Summary
Constructors Constructor Description PlatformSinglePictureManifest(PlatformPicture picture, org.eclipse.emf.common.util.URI pictureUri)
Create a instance ofPlatformSinglePictureManifest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompositeId
getCompositeId()
The pictureCompositeId
Optional<InputStream>
getInputStream()
ReadInputStream
from current picture.-
Methods inherited from class com._1c.g5.v8.dt.platform.pictures.AbstractSinglePictureManifest
getDirection, getInputStream, getPicture, isTemplate
-
-
-
-
Constructor Detail
-
PlatformSinglePictureManifest
public PlatformSinglePictureManifest(PlatformPicture picture, org.eclipse.emf.common.util.URI pictureUri)
Create a instance ofPlatformSinglePictureManifest
- Parameters:
picture
- the sourcePlatformPicture
, cannot benull
pictureUri
- the uri of sourcePlatformPicture
, cannot benull
-
-
Method Detail
-
getCompositeId
public CompositeId getCompositeId()
Description copied from interface:IPictureManifest
The pictureCompositeId
- Specified by:
getCompositeId
in interfaceIPictureManifest
- Overrides:
getCompositeId
in classAbstractSinglePictureManifest<PlatformPicture>
- Returns:
- the
CompositeId
ornull
if picture without id.
-
getInputStream
public Optional<InputStream> getInputStream() throws IOException
Description copied from class:AbstractSinglePictureManifest
ReadInputStream
from current picture.- Specified by:
getInputStream
in classAbstractSinglePictureManifest<PlatformPicture>
- Returns:
InputStream
of picture, optional, nevernull
- Throws:
IOException
- if there is a problem obtaining an read picture content or manifest
-
-