mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 16:20:46 +00:00
swf extracting fixed
This commit is contained in:
@@ -772,6 +772,17 @@ public class Helper {
|
||||
return ext;
|
||||
}
|
||||
|
||||
public static String getWithoutExtension(File f) {
|
||||
String ext = null;
|
||||
String s = f.getName();
|
||||
int i = s.lastIndexOf('.');
|
||||
|
||||
if (i > 0 && i < s.length() - 1) {
|
||||
ext = s.substring(0, i).toLowerCase();
|
||||
}
|
||||
return ext;
|
||||
}
|
||||
|
||||
public static void appendTimeoutComment(GraphTextWriter writer, int timeout) {
|
||||
writer.appendNoHilight("/*").newLine();
|
||||
writer.appendNoHilight(" * ").appendNoHilight(AppStrings.translate("decompilationError")).newLine();
|
||||
|
||||
Reference in New Issue
Block a user