Code Monkey home page Code Monkey logo

resourcetools's Introduction

一个用于快速调用Java项目资源文件的工具包


NOTICE

急需热心翻译(逃



简介

ResourceTools 是一个用于让开发者们,尤其是全新Java开发者们,不再因为Java问题百出的资源文件获取而头疼的一个项目。

话说Java资源文件获取真的很难还是我太垃圾了...? 反正Sukazyo当年和现在一直都觉得资源文件的使用特别麻烦

通过此工具包,就可以实现像使用 java.io.File 一样使用 resources/,不管是打包前还是打包后,都可以一段代码获取资源。

或许比 java.io.File 还好用?(不可能的吧?


使用

参见本项目的 Github Wiki


关于项目文件

这个项目使用的是IDEA+Gradle写的,只要支持 Gradle 的 IDE 就可以 clone 下来写pr~(疯狂暗示~

oh, 记得要添加相关的 .gitignore 条例,别把"垃圾文件"也交上来了


开源许可

项目使用 Apache 2.0 开源。

抱歉Sukazyo对开源协议的要求并不了解所以...欢迎补充...


项目相关人物

作者:

目前仅有 Sukazyo 一人在开发

感谢以下支持者:

并没有谁支持...(哭

oh...感谢 SS 让我参考其 SS Tool Box 项目的 README

如果你有心情的话,可以去给那个项目点一个 Star~

如果观光者大人开恩的话也来给此项目和此作者贡献一个star和fo~


最后,感谢看完本 README,这是 Sukazyo 写的第一个正式项目,如果有什么语言不太合适的地方直接贴 issue 就好。有什么别的问题也直接贴 issue 即可

resourcetools's People

Contributors

eyre-s avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

resourcetools's Issues

文件操作IO时更简易方法

我就用一个地方举例FilesHelper#copyFile

在InputStream和OutputStream中有以下方法:
InputStream#read(byte[])
OutputStream#write(byte[])
明明可以一次性写入全部数据为什么要遍历呢?

可优化的代码?

FilesHelper#getDirectoryAbsolutePath

每次使用新建一个完全一样的正则匹配器?内存真大...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.