ResourceAccessor$.java
1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* scala.Predef
* scala.Predef$
* scala.collection.Seq
* scala.collection.immutable.List
* scala.collection.mutable.WrappedArray
*/
package com.scene7.is.ps.provider;
import com.scene7.is.ps.provider.ResourceAccessor;
import scala.Predef;
import scala.collection.Seq;
import scala.collection.immutable.List;
import scala.collection.mutable.WrappedArray;
public final class ResourceAccessor$ {
public static final ResourceAccessor$ MODULE$;
public static {
new com.scene7.is.ps.provider.ResourceAccessor$();
}
public /* varargs */ ResourceAccessor.NotFound notFound(String path, String ... candidates) {
return this.notFound(path, (Seq<String>)Predef..MODULE$.wrapRefArray((Object[])candidates));
}
public ResourceAccessor.Success success(ResourceAccessor.Resource resource) {
return new ResourceAccessor.Success(resource);
}
public ResourceAccessor.NotFound notFound(String path, Seq<String> candidates) {
return new ResourceAccessor.NotFound(path, candidates.toList());
}
public ResourceAccessor.Inaccessible inaccessible(String path, String reason) {
return new ResourceAccessor.Inaccessible(path, reason);
}
private ResourceAccessor$() {
MODULE$ = this;
}
}