Resource that can be loaded.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Loads the resource synchronously, and returns an java.io.InputStream. The InputStream is NOT closed in the end.
Loads the resource synchronously, and returns an java.io.InputStream. The InputStream is NOT closed in the end.
This method should only be used if for some reason the input stream must stay open (e.g. for data streaming)
Attributes
Loads the resource synchronously, and returns an java.io.OutputStream. The OutputStream is NOT closed in the end.
Loads the resource synchronously, and returns an java.io.OutputStream. The OutputStream is NOT closed in the end.
This method should only be used if for some reason the output stream must stay open (e.g. for data streaming)
Attributes
Loads the resource asynchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
Loads the resource asynchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
Attributes
Loads the resource asynchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStreamAsync instead.
Loads the resource asynchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStreamAsync instead.
Attributes
Concrete methods
Loads the resource synchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
Loads the resource synchronously, processes the contents using a java.io.InputStream and returns the result. The InputStream is closed in the end, so it should not escape this call.
Attributes
Provides a java.io.OutputStream to write data to this resource location. The OutputStream is closed in the end, so it should not escape this call.
Provides a java.io.OutputStream to write data to this resource location. The OutputStream is closed in the end, so it should not escape this call.
Attributes
Loads the resource synchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStream instead.
Loads the resource synchronously, processes the contents using a scala.io.Source and returns the result. The Source is closed in the end, so it should not escape this call. For working with binary files, it is recommended to use withInputStream instead.