org.apache.rat.document.impl.zip
Class ZipRootDirectory
java.lang.Object
org.apache.rat.document.impl.zip.ZipRootDirectory
- All Implemented Interfaces:
- IDocumentCollection, IResource
public class ZipRootDirectory
- extends java.lang.Object
|
Constructor Summary |
ZipRootDirectory(java.util.zip.ZipFile zipFile,
java.util.Collection subdirectorires,
java.util.Collection documents)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ZipRootDirectory
public ZipRootDirectory(java.util.zip.ZipFile zipFile,
java.util.Collection subdirectorires,
java.util.Collection documents)
getName
public java.lang.String getName()
getURL
public java.lang.String getURL()
documentIterator
public java.util.Iterator documentIterator()
- Description copied from interface:
IDocumentCollection
- Iterates
IDocument's contained.
- Specified by:
documentIterator in interface IDocumentCollection
- Returns:
Iterator, not null
subcollectionIterator
public java.util.Iterator subcollectionIterator()
- Description copied from interface:
IDocumentCollection
- Iterates
IDocumentCollection's contained.
- Specified by:
subcollectionIterator in interface IDocumentCollection
- Returns:
Iterator, not null
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.