Debian::Javahelper::Java(3) | Javahelper | Debian::Javahelper::Java(3) |
Debian::Javahelper::Java - Javahelper core library.
use Debian::Javahelper::Java; my @paths = scan_javadoc("/usr/share/doc/libfreemarker-doc/api/"); print "Freemarker is linked to the following APIs: \n - ", join("\n - ", @paths), "\n"; my @packnames = find_package_for_existing_files("/bin/ls", "/bin/bash"); print "/bin/ls and /bin/bash are installed via: ", join(", ", @packnames), "\n";
This module is used by various javahelpers to share common code.
Please note this API is not stable and backwards compatibility is not guaranteed at the current time. Please contact the maintainers if you are interested in a stable API.
Currently it ignores all javadocs linked via other locations than /usr/share/doc and it also makes an assumption that the linked javadoc is in /usr/share/doc/<package>/<dir-or-symlink>. Of course, all Java Policy compliant packages provide their javadoc from there.
If /usr/share/doc/<package>/<dir-or-symlink> appears to be a symlink, then it is followed (except for default-jdk-doc).
Furthermore all entries must be given with absolute path.
$filename is only used to report parsing errors and should be something that identifies the source of $fd.
$filename is only used to report errors and should be something that identifies $fd.
$filename is only used to report errors and should be something that identifies $fd.
NB: Helper - Not exported.
NB: Helper - Not exported.
Debian::Javahelper::Manifest(3) Debian::Javahelper::ManifestSection(3)
Niels Thykier <niels@thykier.net>
Copyright 2010 by Niels Thykier
This module is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.
2021-02-04 | 0.78 |