public static interface ClassPathOpener.Consumer
ClassOpener.| Modifier and Type | Method and Description |
|---|---|
void |
onException(java.lang.Exception ex)
Informs consumer that an exception occurred while processing
this path element.
|
void |
onProcessArchiveStart(java.io.File file)
Informs consumer that processing of an archive file has begun.
|
boolean |
processFileBytes(java.lang.String name,
long lastModified,
byte[] bytes)
Provides the file name and byte array for a class path element.
|
boolean processFileBytes(java.lang.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(java.lang.Exception ex)
ex - non-null; exceptionvoid onProcessArchiveStart(java.io.File file)
file - non-null; archive file being processedCopyright © 2020. All Rights Reserved.