首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 包口扫描仪

包口扫描仪

  • 资源大小:14.29 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: java osgi

资 源 简 介

Small Java library that scans the classloader and tries to determine what packages are available as well as what version they may be. The intended use is to generate the Export-Package OSGi header value to automatically expose the current classpath to an embedded OSGi container. Downloads You can download the jars, source, and javadocs from the Maven 2 repository: http://twdata-m2-repository.googlecode.com/svn/org/twdata/pkgscanner/package-scanner/ Example Usage ``` Collection exports = new PackageScanner() .select( jars( include( "*.jar", "bar-*.jar"), exclude( "dira.jar")), packages( include( "org.*", "com.*", "javax.*", "org.twdata.pkgscanner.*"), exclude( "com.intellij.*"))) .withMappings( mapPackage
VIP VIP
0.216714s