()
| 158 | } |
| 159 | |
| 160 | @Override |
| 161 | public byte[] read() throws IOException { |
| 162 | try (SeekableByteChannel channel = Files.newByteChannel(path, options)) { |
| 163 | return ByteStreams.toByteArray(Channels.newInputStream(channel), channel.size()); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | @Override |
| 168 | public CharSource asCharSource(Charset charset) { |
nothing calls this directly
no test coverage detected