Class DefaultThumbImageConfig
java.lang.Object
com.github.tobato.fastdfs.domain.fdfs.DefaultThumbImageConfig
- All Implemented Interfaces:
ThumbImageConfig
@Component
@ConfigurationProperties(prefix="fdfs.thumb-image")
public class DefaultThumbImageConfig
extends Object
implements ThumbImageConfig
缩略图配置参数
- Author:
- tobato
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription生成前缀如:_150x150getThumbImagePath(String masterFilename) 根据文件名获取缩略图路径Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tobato.fastdfs.domain.fdfs.ThumbImageConfig
getHeight, getWidth
-
Constructor Details
-
DefaultThumbImageConfig
public DefaultThumbImageConfig()
-
-
Method Details
-
getPrefixName
生成前缀如:_150x150- Specified by:
getPrefixNamein interfaceThumbImageConfig- Returns:
-
getThumbImagePath
根据文件名获取缩略图路径- Specified by:
getThumbImagePathin interfaceThumbImageConfig- Returns:
-