com.imagero.swing.tree.handler
Class URLZipHandler

java.lang.Object
  extended bycom.imagero.swing.tree.handler.ZipHandler
      extended bycom.imagero.swing.tree.handler.URLZipHandler
All Implemented Interfaces:
Handler

public class URLZipHandler
extends com.imagero.swing.tree.handler.ZipHandler

URLZipHandler


Constructor Summary
URLZipHandler()
           
 
Method Summary
 boolean canHandle(java.lang.Object o)
           
 boolean getAllowsChildren(HTreeNode node)
           
 TreeNodeComparator getComparator()
           
static Handler getInstance()
           
 boolean isGeneric()
           
 boolean isLeaf(HTreeNode node)
           
 boolean populateChildren(HTreeNode node, boolean descend, boolean refreshNodes)
           
protected  void processZipFile(java.util.Enumeration enum, java.util.zip.ZipFile zipFile, DMTreeNode root)
           
 java.lang.String toString(HTreeNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLZipHandler

public URLZipHandler()
Method Detail

getInstance

public static Handler getInstance()

canHandle

public boolean canHandle(java.lang.Object o)

getComparator

public TreeNodeComparator getComparator()

populateChildren

public boolean populateChildren(HTreeNode node,
                                boolean descend,
                                boolean refreshNodes)
                         throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString(HTreeNode node)

processZipFile

protected void processZipFile(java.util.Enumeration enum,
                              java.util.zip.ZipFile zipFile,
                              DMTreeNode root)
                       throws java.io.IOException
Throws:
java.io.IOException

getAllowsChildren

public boolean getAllowsChildren(HTreeNode node)
Specified by:
getAllowsChildren in interface Handler

isLeaf

public boolean isLeaf(HTreeNode node)
Specified by:
isLeaf in interface Handler

isGeneric

public boolean isGeneric()
Specified by:
isGeneric in interface Handler