com.alibaba.simpleimage
类 CompositeImageProcessor

java.lang.Object
  继承者 com.alibaba.simpleimage.CompositeImageProcessor

已过时。

@Deprecated
public final class CompositeImageProcessor
extends Object

该类目前支持中文站业务处理流程。 可以根据需要, 添加不同的处理方案。 该类目前已经放到中文站图片银行维护,这里不再维护了

作者:
wendell

字段摘要
static long EXPIRED_PERIOD
          已过时。  
static String FILE_CONTENT_LOG_BASE_DIR_NAME
          已过时。  
static int FILE_CONTENT_LOG_MAX_FILE_NUM
          已过时。  
 
构造方法摘要
CompositeImageProcessor()
          已过时。  
CompositeImageProcessor(String errorDir)
          已过时。  
 
方法摘要
 String getErrorDir()
          已过时。  
 OutputStream process(InputStream inputStream, DrawTextParameter drawParam, int maxWidth, int maxHeight)
          已过时。 根据输入的流的, 完成写水印, 缩放, 写输出流。
 void setErrorDir(String errorDir)
          已过时。  
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

FILE_CONTENT_LOG_MAX_FILE_NUM

public static final int FILE_CONTENT_LOG_MAX_FILE_NUM
已过时。 
另请参见:
常量字段值

FILE_CONTENT_LOG_BASE_DIR_NAME

public static final String FILE_CONTENT_LOG_BASE_DIR_NAME
已过时。 
另请参见:
常量字段值

EXPIRED_PERIOD

public static final long EXPIRED_PERIOD
已过时。 
另请参见:
常量字段值
构造方法详细信息

CompositeImageProcessor

public CompositeImageProcessor(String errorDir)
已过时。 

CompositeImageProcessor

public CompositeImageProcessor()
已过时。 
方法详细信息

process

public OutputStream process(InputStream inputStream,
                            DrawTextParameter drawParam,
                            int maxWidth,
                            int maxHeight)
                     throws SimpleImageException
已过时。 
根据输入的流的, 完成写水印, 缩放, 写输出流。

参数:
is - 输入图像流, 需要主动关闭
dp - 水印参数
scaleParam - 缩放参数
wjp - 写文件参数
返回:
输出图像流, 需要主动关闭. 如果中间处理出错, 抛出异常;
抛出:
IOException
IOException
SimpleImageException

getErrorDir

public String getErrorDir()
已过时。 
返回:
the errorDir

setErrorDir

public void setErrorDir(String errorDir)
已过时。 
参数:
errorDir - the errorDir to set


Copyright © 2012–2015 Alibaba Group. All rights reserved.