public static interface ClassPathOpener.Consumer
ClassOpener.| Modifier and Type | Method and Description |
|---|---|
void |
onException(Exception ex)
Informs consumer that an exception occurred while processing
this path element.
|
void |
onProcessArchiveStart(File file)
Informs consumer that processing of an archive file has begun.
|
boolean |
processFileBytes(String name,
long lastModified,
byte[] bytes)
Provides the file name and byte array for a class path element.
|
boolean processFileBytes(String name, long lastModified, byte[] bytes)
name - non-null; filename of element. May not be a valid
filesystem path.lastModified - milliseconds since 1970-Jan-1 00:00:00 GMTbytes - non-null; file dataprocessFileBytes and returned to the caller
of process().void onException(Exception ex)
ex - non-null; exceptionvoid onProcessArchiveStart(File file)
file - non-null; archive file being processedCopyright © 2016. All Rights Reserved.