public abstract class MatchResult
extends java.lang.Object
FileSystem.match(java.util.List<java.lang.String>)
.Modifier and Type | Class and Description |
---|---|
static class |
MatchResult.Metadata
MatchResult.Metadata of a matched file. |
static class |
MatchResult.Status
Status of a
MatchResult . |
Modifier and Type | Method and Description |
---|---|
static MatchResult |
create(MatchResult.Status status,
java.io.IOException e)
|
static MatchResult |
create(MatchResult.Status status,
java.util.List<MatchResult.Metadata> metadata)
|
abstract java.util.List<MatchResult.Metadata> |
metadata()
MatchResult.Metadata of matched files. |
abstract MatchResult.Status |
status()
Status of the
MatchResult . |
static MatchResult |
unknown()
Returns a
MatchResult with MatchResult.Status.UNKNOWN . |
public static MatchResult create(MatchResult.Status status, java.util.List<MatchResult.Metadata> metadata)
public static MatchResult create(MatchResult.Status status, java.io.IOException e)
public static MatchResult unknown()
MatchResult
with MatchResult.Status.UNKNOWN
.public abstract MatchResult.Status status()
MatchResult
.public abstract java.util.List<MatchResult.Metadata> metadata() throws java.io.IOException
MatchResult.Metadata
of matched files.java.io.IOException