|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwpi.associations.arminerSequence.DBCacheWriter
Serializes itemsets to a cache file.
Field Summary | |
private java.lang.String |
filename
|
private java.io.ObjectOutputStream |
outstream
|
Constructor Summary | |
DBCacheWriter(java.lang.String name)
Initializes a DBCacheWriter to write to the specified cache file. |
Method Summary | |
void |
close()
Closes the cache file. |
static void |
main(java.lang.String[] args)
for testing purposes only !!! |
void |
writeItemset(ARMinerItemset is)
Write an itemset to the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.io.ObjectOutputStream outstream
private java.lang.String filename
Constructor Detail |
public DBCacheWriter(java.lang.String name) throws java.io.IOException
name
- name of the cache file
java.lang.IllegalArgumentException
- name
is null
java.io.IOException
- from java.io packageMethod Detail |
public void close() throws java.io.IOException
java.io.IOException
- from java.io packagepublic void writeItemset(ARMinerItemset is) throws java.io.IOException
java.io.IOException
- from java.io packagepublic static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |