ResourceDiff.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | JimageDiffGenerator.
A resource used for linking. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | Returns: true iff the two streams contain the same number of
bytes and each byte of the streams are equal. false
otherwise.The first input stream is1, InputStream The second input stream is2)Compare the contents of the two input streams (byte-by-byte). |
| public List | Returns: The list of resource differences across all modules.The ImageResource view of unmodified resources coming from
packaged modules. base,The ImageResource view of the jlink plug-in pipeline having
been applied to the resources in base. imageProduce a difference between packaged modules' resources (base) and the result of all plug-ins being applied on those resources (image). |
| JimageDiffGenerator | back to summary |
|---|---|
| public JimageDiffGenerator() | |
| compareStreams | back to summary |
|---|---|
| private boolean compareStreams(InputStream is1, InputStream is2) Compare the contents of the two input streams (byte-by-byte).
| |
| generateDiff | back to summary |
|---|---|
| public List Produce a difference between packaged modules' resources (base) and the result of all plug-ins being applied on those resources (image).
| |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public InputStream | |
| public byte[] |
| getEntries | back to summary |
|---|---|
| public List | |
| getResource | back to summary |
|---|---|
| public InputStream getResource(String name) | |
| getResourceBytes | back to summary |
|---|---|
| public byte[] getResourceBytes(String name) | |