public class ThumbnailUtil
extends java.lang.Object
Constructor and Description |
---|
ThumbnailUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addThumbnail(Resource res,
java.util.Iterator<Asset> members) |
static void |
addThumbnailToAsset(Resource res,
java.io.InputStream is) |
static java.awt.image.BufferedImage |
getThumbnail(Session session,
java.lang.String thumbnailPath)
This utility return buffered image for thumbnail path
|
public static void addThumbnail(Resource res, java.util.Iterator<Asset> members) throws java.io.IOException
java.io.IOException
public static void addThumbnailToAsset(Resource res, java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static java.awt.image.BufferedImage getThumbnail(Session session, java.lang.String thumbnailPath) throws java.io.IOException
session
- thumbnailPath
- java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved