public class ZipStreamDataNode extends ZipArchiveDataNode
Constructor and Description |
---|
ZipStreamDataNode(uk.ac.starlink.util.DataSource datsrc)
Constructs a ZipStreamDataNode from a DataSource object.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator |
getChildIteratorAtLevel(java.lang.String level,
DataNode parent)
Returns an iterator over the DataNodes at a given level in the
hierarchy of this archive.
|
protected java.util.List |
getEntries()
Returns a list of all the ZipEntry objects in
this zip archive.
|
allowsChildren, getChildIterator, getEntriesAtLevel, getName, getNodeTLA, getNodeType, getPathSeparator, isMagic
beep, configureDetail, getChildMaker, getCreator, getDataObject, getDescription, getIcon, getLabel, getParentObject, getPathElement, hasDataObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toString
public ZipStreamDataNode(uk.ac.starlink.util.DataSource datsrc) throws NoSuchDataException
NoSuchDataException
protected java.util.List getEntries() throws java.io.IOException
ZipArchiveDataNode
getEntries
in class ZipArchiveDataNode
ZipEntry
objects
which make up this zip archive.java.io.IOException
protected java.util.Iterator getChildIteratorAtLevel(java.lang.String level, DataNode parent) throws java.io.IOException
ZipArchiveDataNode
getChildIteratorAtLevel
in class ZipArchiveDataNode
level
- the required starting substring of the name of all
ZipEntries to be represented in the resultparent
- the DataNode whose children the resulting nodes will beDataNode
objects corresponding to
the ZipEntry objects specified by leveljava.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.