public class ClasspathPackages extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Computes the packages in the specified class path.
Prints the packages in the class path to standard output using the default character encoding.
public static void main(String args)
args- the arguments
public static Set compute(String classpath)
File.pathSeparatorcharacter. Empty names are treated as the current directory, names ending in the
File.separatorcharacter are treated as directories, and other names are treated as JAR files. Directories or JAR files that have errors when they are accessed will be ignored.
classpath- the class path
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.