@Immutable public final class ClassPathHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getAllClassPathEntries() |
static void |
getAllClassPathEntries(Collection<String> aTarget)
Add all class path entries into the provided target list.
|
static void |
printClassPathEntries(PrintStream aPS)
Print all class path entries on the passed print stream, using the system
line separator
|
static void |
printClassPathEntries(PrintStream aPS,
String sItemSeparator)
Print all class path entries on the passed print stream, using the passed
separator
|
@Nonnull public static List<String> getAllClassPathEntries()
null list of all directories and files currently
in the class path.public static void getAllClassPathEntries(@Nonnull Collection<String> aTarget)
aTarget - The target collection to be filled. May not be null.public static void printClassPathEntries(@Nonnull PrintStream aPS)
aPS - The print stream to print to. May not be null.public static void printClassPathEntries(@Nonnull PrintStream aPS, @Nonnull String sItemSeparator)
aPS - The print stream to print to. May not be null.sItemSeparator - The separator to be printed between each item.Copyright © 2014–2016 Philip Helger. All rights reserved.