@Experimental(value=FILESYSTEM) public final class LocalResources extends java.lang.Object
ResourceId
that references a local file or directory.Modifier and Type | Method and Description |
---|---|
static ResourceId |
fromFile(java.io.File file,
boolean isDirectory) |
static ResourceId |
fromPath(java.nio.file.Path path,
boolean isDirectory) |
static ResourceId |
fromString(java.lang.String filename,
boolean isDirectory) |
static ValueProvider<ResourceId> |
fromString(ValueProvider<java.lang.String> resourceProvider,
boolean isDirectory) |
public static ResourceId fromFile(java.io.File file, boolean isDirectory)
public static ResourceId fromPath(java.nio.file.Path path, boolean isDirectory)
public static ResourceId fromString(java.lang.String filename, boolean isDirectory)
public static ValueProvider<ResourceId> fromString(ValueProvider<java.lang.String> resourceProvider, boolean isDirectory)