public class IOsKt
| Modifier and Type | Method and Description |
|---|---|
static java.net.URL |
resource(java.lang.String path)
Get a resource url from the classpath.
|
static java.io.InputStream |
resourceAsStream(java.lang.String path)
Get a resource InputStream from the classpath.
|
static java.lang.String |
resourceAsString(java.lang.String path)
Get a text content of a resource from the classpath.
|
@NotNull
public static java.net.URL resource(@NotNull
java.lang.String path)
Get a resource url from the classpath.
@NotNull
public static java.io.InputStream resourceAsStream(@NotNull
java.lang.String path)
Get a resource InputStream from the classpath.
@NotNull
public static java.lang.String resourceAsString(@NotNull
java.lang.String path)
Get a text content of a resource from the classpath.