Returns a new ByteSource for reading bytes from the given file. @since 14.0
(File file)
| 105 | * @since 14.0 |
| 106 | */ |
| 107 | public static ByteSource asByteSource(File file) { |
| 108 | return new FileByteSource(file); |
| 109 | } |
| 110 | |
| 111 | private static final class FileByteSource extends ByteSource { |
| 112 |
no outgoing calls
no test coverage detected