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