Class ResourceFinder.DisplayResourceFinderCallback

java.lang.Object
com.randomnoun.common.ResourceFinder.DisplayResourceFinderCallback
All Implemented Interfaces:
ResourceFinder.ResourceFinderCallback
Enclosing class:
ResourceFinder

Class which defines a callback which sends names and resources to System.out.

This class uses '#' as a separator between the filesystem and files contained within archives; e.g. test.jar#abc.txt refers to abc.txt in test.jar.

For comparison, Tangosol seems to use '!', includes a leading slash and includes a protocol-like identifier at the beginning (e.g. jar:file:test.jar!/abc.txt). If a constructor is supplied which only provides a ZipInputStream (i.e. no filename is available), then resources will be returned starting with the '#' character.