MCPcopy Create free account
hub / github.com/cyriux/mpcmaid / importFile

Method importFile

MpcMaid/src/com/mpcmaid/pgm/Sample.java:50–65  ·  view source on GitHub ↗

@return A Sample instances built from the imported file, renamed or null if the file name is too long (in the case of importing sample files into a program)

(final File file, final int length, final Status errorStatus, final boolean brutal,
			int renameCount)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

test_importFile_okMethod · 0.95
toSampleMethod · 0.95
importFilesMethod · 0.95
createProgramMethod · 0.95

Calls 3

hasCorrectExtensionMethod · 0.95
noExtensionMethod · 0.95
escapeNameMethod · 0.95

Tested by 4

test_importFile_okMethod · 0.76
toSampleMethod · 0.76