jxl.util
Class ListFile

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<java.lang.String>
              extended by jxl.util.ListFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.Set<java.lang.String>

public class ListFile
extends java.util.HashSet<java.lang.String>

Author:
alex
See Also:
Serialized Form

Constructor Summary
ListFile(java.io.File file)
          Creates a new instance of ListFile
ListFile(java.io.InputStream is)
           
 
Method Summary
 void flush()
           
 boolean isReadOnly()
           
 void merge()
           
 void refresh()
           
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ListFile

public ListFile(java.io.File file)
         throws java.io.IOException
Creates a new instance of ListFile

Throws:
java.io.IOException

ListFile

public ListFile(java.io.InputStream is)
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

isReadOnly

public boolean isReadOnly()

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

merge

public void merge()
           throws java.io.IOException
Throws:
java.io.IOException

refresh

public void refresh()
             throws java.io.IOException
Throws:
java.io.IOException