项目作者: irradia

项目描述 :
RFC2045 MIME type parsing
高级语言: Kotlin
项目地址: git://github.com/irradia/one.irradia.mime.git
创建时间: 2019-03-22T18:36:31Z
项目社区:https://github.com/irradia/one.irradia.mime

开源协议:ISC License

下载


one.irradia.mime

Build Status
Maven Central
Maven Central (snapshot)
Codacy Badge
Codecov
Gitter

mime

Features

  • Parse RFC 2045 MIME type strings
  • Full positional/lexical information to pinpoint errors in data
  • ISC license
  • High coverage automated test suite
  • OSGi-ready

Building

Install the Android SDK. The package has no dependencies on the Android API
and is therefore usable in non-Android projects.

  1. $ ./gradlew clean assemble check

If the above fails, it’s a bug. Report it!

Using

Use the following Maven or Gradle dependencies, replacing ${LATEST_VERSION_HERE} with
whatever is the latest version published to Maven Central:

  1. <!-- API -->
  2. <dependency>
  3. <groupId>one.irradia.mime</groupId>
  4. <artifactId>one.irradia.mime.api</artifactId>
  5. <version>${LATEST_VERSION_HERE}</version>
  6. </dependency>
  7. <!-- Default implementation -->
  8. <dependency>
  9. <groupId>one.irradia.mime</groupId>
  10. <artifactId>one.irradia.mime.vanilla</artifactId>
  11. <version>${LATEST_VERSION_HERE}</version>
  12. </dependency>
  1. repositories {
  2. mavenCentral()
  3. }
  4. implementation "one.irradia.mime:one.irradia.mime.api:${LATEST_VERSION_HERE}"
  5. implementation "one.irradia.mime:one.irradia.mime.vanilla:${LATEST_VERSION_HERE}"

Library code is encouraged to depend only upon the API package in order to give consumers
the freedom to use other implementations of the API if desired.

Semantic Versioning

All irradia.one packages obey Semantic Versioning
once they reach version 1.0.0.