public class RAMDirectoryUtil extends Object
| 构造器和说明 |
|---|
RAMDirectoryUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
readRAMFiles(DataInput in,
RAMDirectory dir)
Read a number of files from a data input to a ram directory.
|
static void |
writeRAMFiles(DataOutput out,
RAMDirectory dir,
String[] names)
Write a number of files from a ram directory to a data output.
|
public static void writeRAMFiles(DataOutput out, 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, RAMDirectory dir) throws IOException
in - the data inputdir - the ram directoryIOExceptionCopyright © 2009 The Apache Software Foundation