Class LinkRepository
- java.lang.Object
-
- net.minecraftforge.fml.relauncher.libraries.Repository
-
- net.minecraftforge.fml.relauncher.libraries.LinkRepository
-
public class LinkRepository extends Repository
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.io.File>
artifact_to_file
private java.util.Map<java.lang.String,java.io.File>
filesystem
private java.util.Set<java.io.File>
known
private static org.apache.logging.log4j.Logger
LOGGER
private java.util.Map<java.lang.String,Artifact>
snapshots
-
Fields inherited from class net.minecraftforge.fml.relauncher.libraries.Repository
cache
-
-
Constructor Summary
Constructors Constructor Description LinkRepository(java.io.File root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
archive(Artifact artifact, java.io.File file, byte[] manifest)
void
filterLegacy(java.util.List<java.io.File> list)
java.io.File
getFile(java.lang.String path)
Artifact
resolve(Artifact artifact)
-
Methods inherited from class net.minecraftforge.fml.relauncher.libraries.Repository
create, create, equals, get, hashCode, replace, resolveAll
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
artifact_to_file
private java.util.Map<java.lang.String,java.io.File> artifact_to_file
-
filesystem
private java.util.Map<java.lang.String,java.io.File> filesystem
-
snapshots
private java.util.Map<java.lang.String,Artifact> snapshots
-
known
private java.util.Set<java.io.File> known
-
-
Method Detail
-
archive
public java.io.File archive(Artifact artifact, java.io.File file, byte[] manifest)
- Overrides:
archive
in classRepository
-
filterLegacy
public void filterLegacy(java.util.List<java.io.File> list)
- Overrides:
filterLegacy
in classRepository
-
resolve
public Artifact resolve(Artifact artifact)
- Overrides:
resolve
in classRepository
-
getFile
public java.io.File getFile(java.lang.String path)
- Overrides:
getFile
in classRepository
-
-