MADANA-IO / madana-apk-parser

madana-apk-parser is a module which allows the search for alpine packages by downloading the latest index, parsing it and providing an easy to handle wrapper.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

import com.madana.common.apkparser.Package

...

// set alpine arch; default is 'x86_64'
Package.setAlpineArch("aarch64");

// set alpine version; default is 'latest_stable'
Package.setAlpineArch("3.12");

// search for exact match
Package mariadb = Package.searchExact("mariadb");

// search for partial match; this returns a list of packages whos names contain 'mariadb'
ArrayList<Package> mariadbPackages = Package.search("mariadb");

Good to know

  • package list is automatically update if a search is executed and if 24 hours have surpased

About

madana-apk-parser is a module which allows the search for alpine packages by downloading the latest index, parsing it and providing an easy to handle wrapper.


Languages

Language:Java 100.0%