mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
merge fixups, NBIO refactorings, UI stubs
This commit is contained in:
@@ -17,13 +17,11 @@
|
||||
|
||||
package io.nosqlbench.engine.extensions.files;
|
||||
|
||||
import io.nosqlbench.nb.api.pathutil.NBPaths;
|
||||
import io.nosqlbench.nb.api.content.NBIO;
|
||||
|
||||
public class FileAccess extends FileAccessPluginData {
|
||||
|
||||
public String read(String filepath) {
|
||||
String filedata = NBPaths.readFile(filepath);
|
||||
return filedata;
|
||||
|
||||
return NBIO.readCharBuffer(filepath).toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user