files

An exposer of files

License

License

GroupId

GroupId

tz.co.asoft
ArtifactId

ArtifactId

files-android
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

files
An exposer of files
Project URL

Project URL

https://github.com/aSoft-Ltd/files
Source Code Management

Source Code Management

https://github.com/aSoft-Ltd/files

Download files-android

How to add to project

<!-- https://jarcasting.com/artifacts/tz.co.asoft/files-android/ -->
<dependency>
    <groupId>tz.co.asoft</groupId>
    <artifactId>files-android</artifactId>
    <version>0.0.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/tz.co.asoft/files-android/
implementation 'tz.co.asoft:files-android:0.0.1'
// https://jarcasting.com/artifacts/tz.co.asoft/files-android/
implementation ("tz.co.asoft:files-android:0.0.1")
'tz.co.asoft:files-android:aar:0.0.1'
<dependency org="tz.co.asoft" name="files-android" rev="0.0.1">
  <artifact name="files-android" type="aar" />
</dependency>
@Grapes(
@Grab(group='tz.co.asoft', module='files-android', version='0.0.1')
)
libraryDependencies += "tz.co.asoft" % "files-android" % "0.0.1"
[tz.co.asoft/files-android "0.0.1"]

Dependencies

compile (4)

Group / Artifact Type Version
org.jetbrains.kotlinx : kotlinx-serialization-core-jvm jar 1.0.1
org.jetbrains.kotlinx : kotlinx-coroutines-core-jvm jar 1.4.1
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.4.20
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.20

Project Modules

There are no modules declared in this project.

Files

badge badge badge badge badge

A multiplatform exposer of file

Introduction

This library will give you basic access to File in common code

Samples

suspend fun checkFileThenReadBytes(file: File){
    if(file.extension()=="jpg") { println("File is jpg")}
    val content = file.readBytes() //suspends here
}

Setup

dependencies {
    implementation("tz.co.asoft:files:0.0.1")
}
tz.co.asoft

asoft

Versions

Version
0.0.1