opendap.crawler
Class URLGroups
java.lang.Object
opendap.crawler.URLGroups
- All Implemented Interfaces:
- java.lang.Iterable<URLGroup>
public class URLGroups
- extends java.lang.Object
- implements java.lang.Iterable<URLGroup>
Hold a collection of groups. This provides a way to serialize/deserialize
these objects so that they can be passed between programs.
- Author:
- jimg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLGroups
public URLGroups()
throws java.lang.Exception
- Throws:
java.lang.Exception
URLGroups
public URLGroups(java.lang.String groupsName)
throws java.lang.Exception
- Throws:
java.lang.Exception
iterator
public java.util.Iterator<URLGroup> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<URLGroup>
size
public int size()
add
public void add(URLGroup g)
restoreState
public void restoreState(java.lang.String groupName)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveState
public void saveState(java.lang.String groupsName)
throws java.lang.Exception
- Throws:
java.lang.Exception