Opens the given file for reading
(File f)
| 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 |
no test coverage detected