Returns a ByteSource view of the resource from which its bytes can be read. @throws NoSuchElementException if the resource cannot be loaded through the class loader, despite physically existing in the class path. @since 20.0
()
| 212 | |
| 213 | |
| 214 | public final ByteSource asByteSource() { |
| 215 | return Resources.asByteSource(url()); |
| 216 | } |
| 217 | |
| 218 | /** |
| 219 | * Returns a {@link CharSource} view of the resource from which its bytes can be read as |
nothing calls this directly
no test coverage detected