Skip to content

Commit

Permalink
Update:更改包名、项目名等
Browse files Browse the repository at this point in the history
  • Loading branch information
1171736840 committed Sep 22, 2023
1 parent efd4e9f commit 1266770
Show file tree
Hide file tree
Showing 133 changed files with 527 additions and 654 deletions.
48 changes: 23 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
<p align="center">
<img src="https://file4j.xuyanwu.cn/assets/logo.png" height="100px" alt="logo"/>
</p>


<h3 align="center">原名 X Spring File Storage 现已捐赠至 <a target="_blank" href="https://dromara.org">dromara</a> 开源组织</h3>
<h3 align="center">
<img src="https://x-file-storage.xuyanwu.cn/assets/logo.svg" height="200px" alt="logo"/><br />
<span>原名 X Spring File Storage 现已捐赠至 <a target="_blank" href="https://dromara.org/zh">dromara</a> 开源组织<span>
</h3>

<p align="center">
<a target="_blank" href="https://file4j.dromara.org">file4j.dromara.org</a> |
<a target="_blank" href="https://fiel4j.xuyanwu.cn">fiel4j.xuyanwu.cn</a> |
<a target="_blank" href="https://x-file-storage.dromara.org">x-file-storage.dromara.org</a> |
<a target="_blank" href="https://x-file-storage.xuyanwu.cn">x-file-storage.xuyanwu.cn</a> |
<a target="_blank" href="https://spring-file-storage.xuyanwu.cn">spring-file-storage.xuyanwu.cn</a>
</p>


<p align="center">
<a target="_blank" href="https://search.maven.org/artifact/cn.xuyanwu/spring-file-storage">
<img src="https://img.shields.io/maven-central/v/cn.xuyanwu/spring-file-storage.svg?label=Maven%20Central" />
<a target="_blank" href="https://search.maven.org/artifact/org.dromara/x-file-storage">
<img src="https://img.shields.io/maven-central/v/org.dromara/x-file-storage.svg?label=Maven%20Central" />
</a>
<a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0">
<img src="https://img.shields.io/badge/license-Apache%202-green.svg" />
</a>
<a target="_blank" href="https://www.oracle.com/technetwork/java/javase/downloads/index.html">
<img src="https://img.shields.io/badge/JDK-8+-blue.svg" />
</a>
<a target="_blank" href='https://github.com/dromara/file4j'>
<img src="https://img.shields.io/github/stars/dromara/file4j.svg?style=social" alt="github star"/>
<a target="_blank" href='https://github.com/dromara/x-file-storage'>
<img src="https://img.shields.io/github/stars/dromara/x-file-storage.svg?style=social" alt="github star"/>
</a>
<a href='https://gitee.com/dromara/file4j'>
<img src='https://gitee.com/dromara/file4j/badge/star.svg?theme=dark' alt='star' />
<a href='https://gitee.com/dromara/x-file-storage'>
<img src='https://gitee.com/dromara/x-file-storage/badge/star.svg?theme=dark' alt='star' />
</a>
<br />
<a href='https://jq.qq.com/?_wv=1027&k=eGfeNqka'>
Expand All @@ -40,36 +38,36 @@
Amazon S3、GoogleCloud Storage、金山云 KS3、美团云 MSS、京东云 OSS、天翼云 OOS、移动 云EOS、沃云 OSS、
网易数帆 NOS、Ucloud US3、青云 QingStor、平安云 OBS、首云 OSS、IBM COS、其它兼容 S3

查看 [所有支持的存储平台](https://file4j.xuyanwu.cn/#/存储平台)
查看 [所有支持的存储平台](https://x-file-storage.xuyanwu.cn/#/存储平台)

后续即将支持 Samba、NFS

`2.0.0` 更改项目名、更改包名、优化项目结构、捐赠至 [dromara](https://dromara.org) 开源社区,查看 [更新记录](https://file4j.xuyanwu.cn/#/更新记录?id=200)
`2.0.0` 更改项目名、更改包名、优化项目结构、捐赠至 [dromara](https://dromara.org/zh) 开源社区,查看 [更新记录](https://x-file-storage.xuyanwu.cn/#/更新记录?id=200)
<br />
`1.0.3` 修复了 FileStorageClientFactory 未自动加载等问题,查看 [更新记录](https://file4j.xuyanwu.cn/#/更新记录?id=103)
`1.0.3` 修复了 FileStorageClientFactory 未自动加载等问题,查看 [更新记录](https://x-file-storage.xuyanwu.cn/#/更新记录?id=103)
<br />
`1.0.2` 修复了华为云 OBS 未加载的问题,查看 [更新记录](https://file4j.xuyanwu.cn/#/更新记录?id=102)
`1.0.2` 修复了华为云 OBS 未加载的问题,查看 [更新记录](https://x-file-storage.xuyanwu.cn/#/更新记录?id=102)
<br />
`1.0.1` 修复了 MultipartFile 无法正确获取文件名等问题,查看 [更新记录](https://file4j.xuyanwu.cn/#/更新记录?id=101)
`1.0.1` 修复了 MultipartFile 无法正确获取文件名等问题,查看 [更新记录](https://x-file-storage.xuyanwu.cn/#/更新记录?id=101)
<br />
`1.0.0` 包含了大量功能更新与问题修复,例如解决了内存占用过大问题,支持大文件上传、 [脱离 SpringBoot 单独使用](https://file4j.xuyanwu.cn/#/脱离SpringBoot单独使用) 等,AmazonS3 和 GoogleCloudStorage 存储平台配置名称与之前版本不兼容,查看 [更新记录](https://file4j.xuyanwu.cn/#/更新记录?id=100)
`1.0.0` 包含了大量功能更新与问题修复,例如解决了内存占用过大问题,支持大文件上传、 [脱离 SpringBoot 单独使用](https://x-file-storage.xuyanwu.cn/#/脱离SpringBoot单独使用) 等,AmazonS3 和 GoogleCloudStorage 存储平台配置名称与之前版本不兼容,查看 [更新记录](https://x-file-storage.xuyanwu.cn/#/更新记录?id=100)

> 通过 WebDAV 连接到 Alist 后,可以使用百度网盘、天翼云盘、阿里云盘、迅雷网盘等常见存储服务,查看 [Alist 支持的存储平台](https://alist-doc.nn.ci/docs/webdav)
GitHub:https://github.com/dromara/file4j
GitHub:https://github.com/dromara/x-file-storage
<br />
Gitee:https://gitee.com/dromara/file4j
Gitee:https://gitee.com/dromara/x-file-storage

### 使用

阅读 [快速入门](https://file4j.xuyanwu.cn/#/快速入门) 开始使用吧!
阅读 [快速入门](https://x-file-storage.xuyanwu.cn/#/快速入门) 开始使用吧!

### 捐赠
如果你觉得这个项目不错,可以点个 Star 或捐赠请作者吃包辣条~,不想打赏的话用支付宝扫最后一个码可以领取个红包,在此表示感谢^_^。

<img src="https://file4j.xuyanwu.cn/assets/wx.png" height="300px" alt="微信"> <img src="https://file4j.xuyanwu.cn/assets/zfb.jpg" height="300px" alt="支付宝"> <img src="https://file4j.xuyanwu.cn/assets/zfb2.jpg" height="300px" alt="支付宝2">
<img src="https://x-file-storage.xuyanwu.cn/assets/wx.png" height="300px" alt="微信"> <img src="https://x-file-storage.xuyanwu.cn/assets/zfb.jpg" height="300px" alt="支付宝"> <img src="https://x-file-storage.xuyanwu.cn/assets/zfb2.jpg" height="300px" alt="支付宝2">

或者点击以下链接,将页面拉到最下方点击“捐赠”即可。

[Gitee上捐赠](https://gitee.com/dromara/file4j)
[Gitee上捐赠](https://gitee.com/dromara/x-file-storage)

2 changes: 1 addition & 1 deletion docs/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
file4j.xuyanwu.cn
x-file-storage.xuyanwu.cn
44 changes: 20 additions & 24 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
<p align="center">
<img src="https://file4j.xuyanwu.cn/assets/logo.png" height="100px" alt="logo"/>
</p>


<h3 align="center">原名 X Spring File Storage 现已捐赠至 <a target="_blank" href="https://dromara.org">dromara</a> 开源组织</h3>
<h3 align="center">
<img src="https://x-file-storage.xuyanwu.cn/assets/logo.svg" height="200px" alt="logo"/><br />
<span>原名 X Spring File Storage 现已捐赠至 <a target="_blank" href="https://dromara.org/zh">dromara</a> 开源组织<span>
</h3>

<p align="center">
<a target="_blank" href="https://file4j.dromara.org">file4j.dromara.org</a> |
<a target="_blank" href="https://fiel4j.xuyanwu.cn">fiel4j.xuyanwu.cn</a> |
<a target="_blank" href="https://spring-file-storage.xuyanwu.cn">spring-file-storage.xuyanwu.cn</a> |
<a target="_blank" href="https://fiel4j.com">fiel4j.com</a> |
<a target="_blank" href="https://fiel4j.cn">fiel4j.cn</a>
<a target="_blank" href="https://x-file-storage.dromara.org">x-file-storage.dromara.org</a> |
<a target="_blank" href="https://x-file-storage.xuyanwu.cn">x-file-storage.xuyanwu.cn</a> |
<a target="_blank" href="https://spring-file-storage.xuyanwu.cn">spring-file-storage.xuyanwu.cn</a>
</p>

<p align="center">
<a target="_blank" href="https://search.maven.org/artifact/cn.xuyanwu/spring-file-storage">
<img src="https://img.shields.io/maven-central/v/cn.xuyanwu/spring-file-storage.svg?label=Maven%20Central" />
<a target="_blank" href="https://search.maven.org/artifact/org.dromara/x-file-storage">
<img src="https://img.shields.io/maven-central/v/org.dromara/x-file-storage.svg?label=Maven%20Central" />
</a>
<a target="_blank" href="https://www.apache.org/licenses/LICENSE-2.0">
<img src="https://img.shields.io/badge/license-Apache%202-green.svg" />
</a>
<a target="_blank" href="https://www.oracle.com/technetwork/java/javase/downloads/index.html">
<img src="https://img.shields.io/badge/JDK-8+-blue.svg" />
</a>
<a target="_blank" href='https://github.com/dromara/file4j'>
<img src="https://img.shields.io/github/stars/dromara/file4j.svg?style=social" alt="github star"/>
<a target="_blank" href='https://github.com/dromara/x-file-storage'>
<img src="https://img.shields.io/github/stars/dromara/x-file-storage.svg?style=social" alt="github star"/>
</a>
<a href='https://gitee.com/dromara/file4j'>
<img src='https://gitee.com/dromara/file4j/badge/star.svg?theme=dark' alt='star' />
<a href='https://gitee.com/dromara/x-file-storage'>
<img src='https://gitee.com/dromara/x-file-storage/badge/star.svg?theme=dark' alt='star' />
</a>
<br />
<a href='https://jq.qq.com/?_wv=1027&k=eGfeNqka'>
Expand All @@ -45,7 +41,7 @@ Amazon S3、GoogleCloud Storage、金山云 KS3、美团云 MSS、京东云 OSS

后续即将支持 Samba、NFS

`2.0.0` 更改项目名、更改包名、优化项目结构、捐赠至 [dromara](https://dromara.org) 开源社区,查看 [更新记录](更新记录?id=200)
`2.0.0` 更改项目名、更改包名、优化项目结构、捐赠至 [dromara](https://dromara.org/zh) 开源社区,查看 [更新记录](更新记录?id=200)
<br />
`1.0.3` 修复了 FileStorageClientFactory 未自动加载等问题,查看 [更新记录](更新记录?id=103)
<br />
Expand All @@ -57,9 +53,9 @@ Amazon S3、GoogleCloud Storage、金山云 KS3、美团云 MSS、京东云 OSS

> 通过 WebDAV 连接到 Alist 后,可以使用百度网盘、天翼云盘、阿里云盘、迅雷网盘等常见存储服务,查看 [Alist 支持的存储平台](https://alist-doc.nn.ci/docs/webdav)
GitHub:https://github.com/dromara/file4j
GitHub:https://github.com/dromara/x-file-storage
<br />
Gitee:https://gitee.com/dromara/file4j
Gitee:https://gitee.com/dromara/x-file-storage

# 使用
阅读 [快速入门](快速入门) 开始使用吧!
Expand All @@ -68,11 +64,11 @@ Gitee:https://gitee.com/dromara/file4j
如果你觉得这个项目不错,可以点个 Star 或捐赠请作者吃包辣条~,不想打赏的话用支付宝扫最后一个码可以领取个红包,在此表示感谢^_^。


<img src="https://file4j.xuyanwu.cn/assets/wx.png" style="height: 350px;margin-right: 20px" alt="微信">
<img src="https://file4j.xuyanwu.cn/assets/zfb.jpg" style="height: 350px;margin-right: 20px" alt="支付宝">
<img src="https://file4j.xuyanwu.cn/assets/zfb2.jpg" style="height: 350px" alt="支付宝2">
<img src="https://x-file-storage.xuyanwu.cn/assets/wx.png" style="height: 350px;margin-right: 20px" alt="微信">
<img src="https://x-file-storage.xuyanwu.cn/assets/zfb.jpg" style="height: 350px;margin-right: 20px" alt="支付宝">
<img src="https://x-file-storage.xuyanwu.cn/assets/zfb2.jpg" style="height: 350px" alt="支付宝2">

或者点击以下链接,将页面拉到最下方点击“捐赠”即可。

[Gitee上捐赠](https://gitee.com/dromara/file4j)
[Gitee上捐赠](https://gitee.com/dromara/x-file-storage)

20 changes: 10 additions & 10 deletions docs/_navbar.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
* 文档版本 2.0.0

* [2.0.0](https://file4j.xuyanwu.cn/2.0.0/)
* [1.0.3](https://file4j.xuyanwu.cn/1.0.3/)
* [1.0.2](https://file4j.xuyanwu.cn/1.0.2/)
* [1.0.1](https://file4j.xuyanwu.cn/1.0.1/)
* [1.0.0](https://file4j.xuyanwu.cn/1.0.0/)
* [0.7.0](https://file4j.xuyanwu.cn/0.7.0/)
* [0.6.1](https://file4j.xuyanwu.cn/0.6.1/)
* [0.6.0](https://file4j.xuyanwu.cn/0.6.0/)
* [0.5.0](https://file4j.xuyanwu.cn/0.5.0/)
* [0.4.0](https://file4j.xuyanwu.cn/0.4.0/)
* [2.0.0](https://x-file-storage.xuyanwu.cn/2.0.0/)
* [1.0.3](https://x-file-storage.xuyanwu.cn/1.0.3/)
* [1.0.2](https://x-file-storage.xuyanwu.cn/1.0.2/)
* [1.0.1](https://x-file-storage.xuyanwu.cn/1.0.1/)
* [1.0.0](https://x-file-storage.xuyanwu.cn/1.0.0/)
* [0.7.0](https://x-file-storage.xuyanwu.cn/0.7.0/)
* [0.6.1](https://x-file-storage.xuyanwu.cn/0.6.1/)
* [0.6.0](https://x-file-storage.xuyanwu.cn/0.6.0/)
* [0.5.0](https://x-file-storage.xuyanwu.cn/0.5.0/)
* [0.4.0](https://x-file-storage.xuyanwu.cn/0.4.0/)
2 changes: 1 addition & 1 deletion docs/acl.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fileStorageService.setThFileAcl(fileInfo,Constant.ACL.PUBLIC_READ);

一般情况下使用 私有`PRIVATE`、公共读`PUBLIC_READ`、公共读写`PUBLIC_READ_WRITE`这三个就够了,这是所有支持 ACL 的平台都通用的

有些平台也定义了一些私有的 ACL,请查看 `cn.xuyanwu.spring.file.storage.constant` 包下面的 `Constant` 接口中定义的常量
有些平台也定义了一些私有的 ACL,请查看 `org.dromara.x.file.storage.core.constant` 包下面的 `Constant` 接口中定义的常量

因为这样设置的 ACL 都是字符串,可以方便的保存到数据库中,所以推荐使用这种方式

Expand Down
30 changes: 15 additions & 15 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<head>
<meta charset="UTF-8">
<title>File4J</title>
<meta name="keywords" content="file4j,X Spring File Storage,文件存储,对象存储,xuyanwu">
<meta name="keywords" content="x-file-storage,X Spring File Storage,文件存储,对象存储,xuyanwu">
<meta name="description" content="原名 X Spring File Storage,一行代码将文件存储到阿里云OSS、华为云OBS、七牛云Kodo、腾讯云COS、百度云 BOS、又拍云USS等平台">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="https://file4j.xuyanwu.cn/assets/docsify-theme-vue.css">
<link rel="stylesheet" href="https://x-file-storage.xuyanwu.cn/assets/docsify-theme-vue.css">
<style>
#main {
max-width: 90%;
Expand All @@ -24,7 +24,7 @@
loadFooter: true,
subMaxLevel: 3,
name: 'File4J',
repo: 'https://github.com/dromara/file4j',
repo: 'https://github.com/dromara/x-file-storage',
auto2top: true,
search: {
placeholder: '搜索'
Expand All @@ -44,21 +44,21 @@

</script>
<!-- Docsify v4 -->
<script src="https://file4j.xuyanwu.cn/assets/docsify.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/docsify-tabs.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/prism-java.min.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/prism-yaml.min.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/prism-sql.min.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/docsify-copy-code.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/docsify-pagination.min.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/search.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify-tabs.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/prism-java.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/prism-yaml.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/prism-sql.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify-copy-code.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify-pagination.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/search.min.js"></script>
<!-- https://github.com/fzankl/docsify-plugin-flexible-alerts -->
<script src="https://file4j.xuyanwu.cn/assets/docsify-plugin-flexible-alerts.js"></script>
<script src="https://file4j.xuyanwu.cn/assets/x-fold-code.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify-plugin-flexible-alerts.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/x-fold-code.js"></script>
<!-- https://github.com/indieatom/docsify-puml -->
<script src="https://file4j.xuyanwu.cn/assets/docsify-puml.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify-puml.min.js"></script>
<!-- https://alertbox.github.io/docsify-footer/ -->
<script src="https://file4j.xuyanwu.cn/assets/docsify-footer.min.js"></script>
<script src="https://x-file-storage.xuyanwu.cn/assets/docsify-footer.min.js"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion docs/存储平台.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ spring:

```

然后再自定义 Client 工厂类,这里采用匿名内部类的写法,也可以参考 `cn.xuyanwu.spring.file.storage.platform` 包下各个工厂类的写法
然后再自定义 Client 工厂类,这里采用匿名内部类的写法,也可以参考 `org.dromara.x.file.storage.core.platform` 包下各个工厂类的写法

```java
/**
Expand Down
Loading

0 comments on commit 1266770

Please sign in to comment.