|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.alibaba.simpleimage.CompositeImageProcessor
@Deprecated public final class CompositeImageProcessor
该类目前支持中文站业务处理流程。 可以根据需要, 添加不同的处理方案。 该类目前已经放到中文站图片银行维护,这里不再维护了
| 字段摘要 | |
|---|---|
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 |
| 字段详细信息 |
|---|
public static final int FILE_CONTENT_LOG_MAX_FILE_NUM
public static final String FILE_CONTENT_LOG_BASE_DIR_NAME
public static final long EXPIRED_PERIOD
| 构造方法详细信息 |
|---|
public CompositeImageProcessor(String errorDir)
public CompositeImageProcessor()
| 方法详细信息 |
|---|
public OutputStream process(InputStream inputStream,
DrawTextParameter drawParam,
int maxWidth,
int maxHeight)
throws SimpleImageException
is - 输入图像流, 需要主动关闭dp - 水印参数scaleParam - 缩放参数wjp - 写文件参数
IOException
IOException
SimpleImageExceptionpublic String getErrorDir()
public void setErrorDir(String errorDir)
errorDir - the errorDir to set
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||