Skip to content

salehusman/FileEditor

Repository files navigation

Features:

  1. "Safe" access of files. It does not matter if file exists or not, it will not throw any exceptions. Let's say you try to read a file which does not exist - it will return an empty string.
  2. Async

How to:

  1. Copy paste FileEditor.kt and AsyncEditor.kt to your project
  2. If its Kotlin project use: FileEditor.<method> If its Java project use: FileEditor.INSTANCE.<method> OR create constant const FileEditor fileEditor = FileEditor.INSTANCE; and then use it by acessing variable: fileEditor.<method>

Why no Gradle dependency?

Because these files are meant to be modified as project grows and needs increase.

About

Simple File Editor "library". Primarily meant for Android but works on any Jvm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages