commons_config 0.0.5 commons_config: ^0.0.5 copied to clipboard
Commons Configuration provides generic configuration interface which enables an application to read configuration data from a variety of sources.
Commons Configuration #
The Commons Configuration software library provides a generic configuration interface which enables a Dart/Flutter application to read configuration data from a variety of sources.
Note that this project is still in its early stages and so may not yet provide complete/full functionality. We will be building up functionality over the next few months through numerous small iterative releases.
Table of Contents #
About The Project #
To do: add more info about package here
Features #
Getting Started #
To do: describe how to get started
Prerequisites #
Needs Dart SDK 3.4.3
Installation #
pub add commons_config
Usage #
Import Package #
Import library
import 'package:commons_config/commons_config.dart';
Create a Properties instance
Properties properties = Properties();
Load the properties from a file
properties.loadSync(File('loggin.props'));
Read a property with the getProperty method
print(properties.getProperty('rootLogger'));
Roadmap #
See the open issues for a full list of proposed features (and known issues).
Contributing #
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License #
Distributed under the MIT License. See LICENSE
for more information.
Contact #
Limeslice Software Foundation https://limeslice.org
Acknowledgments #
We would like to thank the authors of the Apache Commons Configuration package which provided the basis for this package.
Limitation of Liability #
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.