public class RAMDirectoryUtil
extends java.lang.Object
| Constructor and Description |
|---|
RAMDirectoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
readRAMFiles(java.io.DataInput in,
org.apache.lucene.store.RAMDirectory dir)
Read a number of files from a data input to a ram directory.
|
static void |
writeRAMFiles(java.io.DataOutput out,
org.apache.lucene.store.RAMDirectory dir,
java.lang.String[] names)
Write a number of files from a ram directory to a data output.
|
public static void writeRAMFiles(java.io.DataOutput out,
org.apache.lucene.store.RAMDirectory dir,
java.lang.String[] names)
throws java.io.IOException
out - the data outputdir - the ram directorynames - the names of the files to writejava.io.IOExceptionpublic static void readRAMFiles(java.io.DataInput in,
org.apache.lucene.store.RAMDirectory dir)
throws java.io.IOException
in - the data inputdir - the ram directoryjava.io.IOExceptionCopyright © 2009 The Apache Software Foundation