MCPcopy Create free account
hub / github.com/diffplug/matfilerw / read

Method read

src/main/java/com/jmatio/io/MatFileReader.java:243–245  ·  view source on GitHub ↗

Reads the content of a MAT-file and returns the mapped content. This method calls read(file, new MatFileFilter(), MallocPolicy.MEMORY_MAPPED_FILE) . @param file a valid MAT-file file to be read @return the same as #getContent() @throws IOException

(File file)

Source from the content-addressed store, hash-verified

241 * if error occurs during file processing
242 */
243 public synchronized Map<String, MLArray> read(File file) throws IOException {
244 return read(file, new MatFileFilter(), MEMORY_MAPPED_FILE);
245 }
246
247 /**
248 * Reads the content of a MAT-file and returns the mapped content.

Callers 14

testWritingMethodsMethod · 0.95
testBigSparseFileMethod · 0.95
testSingleMethod · 0.95
testJavaObjectMethod · 0.95
testObjectMethod · 0.95
setUpMethod · 0.95
MatFileReaderMethod · 0.95
readFullMethod · 0.95
fileFromStreamMethod · 0.45
fileFromStreamMethod · 0.45
getTestFileMethod · 0.45

Calls 14

parseDataMethod · 0.95
getContentMethod · 0.95
cleanMethod · 0.95
copyMethod · 0.95
getBufMethod · 0.95
getCountMethod · 0.95
putMethod · 0.80
closeMethod · 0.80
sizeMethod · 0.65
keySetMethod · 0.45
removeMethod · 0.45
allocateMethod · 0.45

Tested by 10

testWritingMethodsMethod · 0.76
testBigSparseFileMethod · 0.76
testSingleMethod · 0.76
testJavaObjectMethod · 0.76
testObjectMethod · 0.76
setUpMethod · 0.76
fileFromStreamMethod · 0.36
fileFromStreamMethod · 0.36
getTestFileMethod · 0.36