java.io.Serializablepublic class ListClasses
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
m_Verbose |
whether to be verbose.
|
| Constructor | Description |
|---|---|
ListClasses() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
execute(java.lang.String[] options) |
Executes the listing.
|
boolean |
isVerbose() |
Returns whether to be verbose during generation.
|
protected java.util.List<Info> |
list(java.lang.String location) |
Returns all the version info for the specified location.
|
protected void |
list(java.util.List<Info> classes,
java.io.File location) |
Collects all the version info.
|
java.util.List<Info> |
list(java.util.List<java.lang.String> locations) |
Collects all the version info.
|
static void |
main(java.lang.String[] args) |
Executes the listing with the specified parameters.
|
void |
setVerbose(boolean value) |
Sets whether to be verbose during generation.
|
protected java.util.List<Info> list(java.lang.String location)
location - class file, directory or jarpublic void setVerbose(boolean value)
value - true if verbosepublic boolean isVerbose()
protected void list(java.util.List<Info> classes, java.io.File location) throws java.lang.Exception
classes - the info to add tolocation - the location to inspectjava.lang.Exception - if listing failspublic java.util.List<Info> list(java.util.List<java.lang.String> locations) throws java.lang.Exception
locations - the locations to inspectjava.lang.Exception - if listing failspublic boolean execute(java.lang.String[] options)
throws java.lang.Exception
options - the command-line options to usejava.lang.Exception - if listing failspublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - the parameters to usejava.lang.Exception - if listing failsCopyright © 2019. All Rights Reserved.