Returns a ByteSource that reads from the given URL. @since 14.0
(URL url)
| 54 | * @since 14.0 |
| 55 | */ |
| 56 | public static ByteSource asByteSource(URL url) { |
| 57 | return new UrlByteSource(url); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * A byte source that reads from a URL using {@link URL#openStream()}. |
no outgoing calls
no test coverage detected