public class ZipAwareBrowser extends java.lang.Object implements Browser
ArchiveUtil.getArchiveType(String).
Zip inside zip is supported.
| Constructor and Description |
|---|
ZipAwareBrowser(Browser browser) |
ZipAwareBrowser(Browser browser,
boolean expandNestedArchives) |
| Modifier and Type | Method and Description |
|---|---|
Behaviour |
getBehaviour()
Returns the browser behaviour options.
|
Element |
getElement(java.lang.String path) |
Element |
getRoot()
Returns the root element.
|
public static final Behaviour BEHAVIOUR
public ZipAwareBrowser(@NotNull
Browser browser)
public ZipAwareBrowser(@NotNull
Browser browser,
boolean expandNestedArchives)
@NotNull public Element getRoot()
Browser@Nullable public Element getElement(@NotNull java.lang.String path) throws BrowserException
getElement in interface Browserpath - path to some elementBrowserException@NotNull public Behaviour getBehaviour()
Browser
For most implementations Behaviour.DEFAULT_BEHAVIOUR is returned.
getBehaviour in interface Browser