All Projects → zhanghai → AndroidRetroFile

zhanghai / AndroidRetroFile

Licence: GPL-2.0 license
Backport of java.nio.file API (JSR 203) for Android

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to AndroidRetroFile

Bridges
🌉 SwifQL+NIO provider to Postgres and MySQL
Stars: ✭ 50 (+19.05%)
Mutual labels:  nio2
s3fs-nio
A Java (NIO2) FileSystem Provider for Amazon AWS S3.
Stars: ✭ 33 (-21.43%)
Mutual labels:  nio2
read
学习笔记 dubbo,rocketmq 源码解析
Stars: ✭ 33 (-21.43%)
Mutual labels:  nio2
giraffe
Gracefully Integrated Remote Access For Files and Execution
Stars: ✭ 50 (+19.05%)
Mutual labels:  nio2

AndroidRetroFile

A backport of java.nio.file API (JSR 203) for Android.

Integration

dependencies {
    implementation 'me.zhanghai.android.retrofile:library:1.1.1'
}

Usage

The backported API is under java8.nio.file.

No default FileSystemProvider implementation is bundled within this library, and the API is modified to allow dynamic install of providers.

Before using the API, you need to set a default provider implementation with FileSystemProvider.installDefaultProvider(). More providers can be installed with FileSystemProvider.installProvider() at any time.

Similarly, there is no default FileTypeDetector implementation, and you can install one with Files.installFileTypeDetector() at any time.

This backport uses android-retrostreams for java.util.stream and ThreeTenABP for java.time, and they are exposed as an API dependency of this library.

License

GNU General Public License, version 2, with the Classpath Exception

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].