-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRemapLibrary.java
More file actions
26 lines (20 loc) · 833 Bytes
/
RemapLibrary.java
File metadata and controls
26 lines (20 loc) · 833 Bytes
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
package io.github.fabriccompatibilitylayers.modremappingapi.api.v2;
import io.github.fabriccompatibilitylayers.modremappingapi.impl.DefaultRemapLibrary;
import org.jetbrains.annotations.Nullable;
import java.nio.file.Path;
import java.util.List;
public interface RemapLibrary {
@Nullable String getURL();
@Nullable Path getPath();
String getFileName();
List<String> getToExclude();
static RemapLibrary of(Path path, String fileName) {
return new DefaultRemapLibrary(path, fileName);
}
static RemapLibrary of(Path path, String fileName, List<String> toExclude) {
return new DefaultRemapLibrary(path, fileName, toExclude);
}
static RemapLibrary of(String url, String fileName, List<String> toExclude) {
return new DefaultRemapLibrary(url, fileName, toExclude);
}
}