Returns a new ByteSource for reading bytes from the given file. @since 14.0
(File file)
| 110 | |
| 111 | |
| 112 | public static ByteSource asByteSource(File file) { |
| 113 | return new FileByteSource(file); |
| 114 | } |
| 115 | |
| 116 | private static final class FileByteSource extends ByteSource { |
| 117 | private final File file; |
no outgoing calls
no test coverage detected