mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-25 17:36:55 +01:00
Rename "decryptFSTEntryToSync" function to "decryptFSTEntryTo"
This commit is contained in:
parent
b6c6ae7320
commit
fb670b5217
@ -73,7 +73,7 @@ public final class DecryptionService {
|
|||||||
return getNUSTitle().getTicket();
|
return getNUSTitle().getTicket();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void decryptFSTEntryToSync(boolean useFullPath, FSTEntry entry, String outputPath, boolean skipExistingFile) {
|
public void decryptFSTEntryTo(boolean useFullPath, FSTEntry entry, String outputPath, boolean skipExistingFile) {
|
||||||
try {
|
try {
|
||||||
decryptFSTEntryToAsync(useFullPath, entry, outputPath, skipExistingFile).get();
|
decryptFSTEntryToAsync(useFullPath, entry, outputPath, skipExistingFile).get();
|
||||||
} catch (InterruptedException | ExecutionException e) {
|
} catch (InterruptedException | ExecutionException e) {
|
||||||
@ -345,7 +345,7 @@ public final class DecryptionService {
|
|||||||
CompletableFuture.completedFuture(null);
|
CompletableFuture.completedFuture(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
decryptFSTEntryToSync(fullPath, entry, outputFolder, skipExistingFiles);
|
decryptFSTEntryTo(fullPath, entry, outputFolder, skipExistingFiles);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void decryptFSTEntryTo(FSTEntry entry, String outputFolder) throws IOException, CheckSumWrongException {
|
public void decryptFSTEntryTo(FSTEntry entry, String outputFolder) throws IOException, CheckSumWrongException {
|
||||||
@ -353,11 +353,11 @@ public final class DecryptionService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void decryptFSTEntryTo(FSTEntry entry, String outputFolder, boolean skipExistingFiles) throws IOException, CheckSumWrongException {
|
public void decryptFSTEntryTo(FSTEntry entry, String outputFolder, boolean skipExistingFiles) throws IOException, CheckSumWrongException {
|
||||||
decryptFSTEntryToSync(false, entry, outputFolder, getNUSTitle().isSkipExistingFiles());
|
decryptFSTEntryTo(false, entry, outputFolder, getNUSTitle().isSkipExistingFiles());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void decryptFSTEntryTo(boolean fullPath, FSTEntry entry, String outputFolder) throws IOException, CheckSumWrongException {
|
public void decryptFSTEntryTo(boolean fullPath, FSTEntry entry, String outputFolder) throws IOException, CheckSumWrongException {
|
||||||
decryptFSTEntryToSync(fullPath, entry, outputFolder, getNUSTitle().isSkipExistingFiles());
|
decryptFSTEntryTo(fullPath, entry, outputFolder, getNUSTitle().isSkipExistingFiles());
|
||||||
}
|
}
|
||||||
|
|
||||||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
@ -397,7 +397,7 @@ public final class DecryptionService {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (val entry : list) {
|
for (val entry : list) {
|
||||||
decryptFSTEntryToSync(fullPath, entry, outputFolder, getNUSTitle().isSkipExistingFiles());
|
decryptFSTEntryTo(fullPath, entry, outputFolder, getNUSTitle().isSkipExistingFiles());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user