Remove FSTUtil functions from the NUSTitle class, they were just wrappers to the FSTUtils class are now unused.

This commit is contained in:
Maschell 2019-04-11 13:28:44 +02:00
parent 8c75a1a43e
commit 40f6b2af73

View File

@ -22,7 +22,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map.Entry;
import java.util.Optional;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@ -34,7 +33,6 @@ import de.mas.wiiu.jnus.entities.content.ContentFSTInfo;
import de.mas.wiiu.jnus.entities.fst.FST;
import de.mas.wiiu.jnus.entities.fst.FSTEntry;
import de.mas.wiiu.jnus.interfaces.NUSDataProvider;
import de.mas.wiiu.jnus.utils.FSTUtils;
import lombok.Getter;
import lombok.Setter;
@ -158,12 +156,4 @@ public class NUSTitle {
public String toString() {
return "NUSTitle [dataProvider=" + dataProvider + "]";
}
public Optional<FSTEntry> getFSTEntryByFullPath(String entryFullPath) {
return FSTUtils.getFSTEntryByFullPath(FST.getRoot(), entryFullPath);
}
public Optional<FSTEntry> getFileEntryDir(String path) {
return FSTUtils.getFileEntryDir(FST.getRoot(), path);
}
}