Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 修复删除文件路径错误的bug fix #90 2. 支持缩略图生成按尺寸(width,height)和按比例缩放 fix #87 3. 重构核心代码路径 4. 修复问题 fix #91, fix #53
- Loading branch information
Showing
142 changed files
with
2,883 additions
and
1,550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 16 additions & 5 deletions
21
src/main/java/com/github/tobato/fastdfs/FdfsClientConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
package com.github.tobato.fastdfs; | ||
|
||
/** | ||
* 客户端常量配置 | ||
* | ||
* @author tobato | ||
* FDFSClient常量配置 | ||
* | ||
* @author tobato | ||
*/ | ||
public class FdfsClientConstants { | ||
|
||
private FdfsClientConstants() { | ||
// hide for constants | ||
} | ||
|
||
/** 配置文件前缀 */ | ||
/** | ||
* 支持图片类型 | ||
*/ | ||
public static final String[] SUPPORT_IMAGE_TYPE = {"JPG", "JPEG", "PNG", "GIF", "BMP", "WBMP"}; | ||
|
||
/** | ||
* 配置文件前缀 | ||
*/ | ||
public static final String ROOT_CONFIG_PREFIX = "fdfs"; | ||
|
||
/** | ||
* 缩略图配置 | ||
*/ | ||
public static final String THUMB_IMAGE_CONFIG_PREFIX = "fdfs.thumb-image"; | ||
|
||
/** | ||
* 连接池配置 | ||
*/ | ||
public static final String POOL_CONFIG_PREFIX = "fdfs.pool"; | ||
|
||
// public static final String CONFIG_PREFIX = "fdfs"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 8 additions & 9 deletions
17
...bato/fastdfs/conn/FdfsConnectionPool.java → ...stdfs/domain/conn/FdfsConnectionPool.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.