MCPcopy Create free account
hub / github.com/Gagravarr/VorbisJava / open

Method open

core/src/main/java/org/gagravarr/flac/FlacFile.java:40–45  ·  view source on GitHub ↗

Opens the given file for reading

(File f)

Source from the content-addressed store, hash-verified

38 * Opens the given file for reading
39 */
40 public static FlacFile open(File f) throws IOException, FileNotFoundException {
41 // Open, in a way that we can skip backwards a few bytes
42 InputStream inp = new BufferedInputStream(new FileInputStream(f), 8);
43 FlacFile file = open(inp);
44 return file;
45 }
46 /**
47 * Opens the given file for reading.
48 * @param inp The InputStrem to read from, which must support mark/reset

Callers 3

mainMethod · 0.95
FlacInfoToolMethod · 0.95
parseMethod · 0.95

Calls 1

readFullyMethod · 0.95

Tested by

no test coverage detected