Resource Importing Cleanup

This commit is contained in:
Konloch 2021-06-26 08:03:59 -07:00
parent b06db41efc
commit 23960aa417
10 changed files with 17 additions and 29 deletions

View file

@ -32,7 +32,7 @@ import the.bytecode.club.bytecodeviewer.gui.resourceviewer.viewer.ResourceViewer
import the.bytecode.club.bytecodeviewer.obfuscators.mapping.Refactorer; import the.bytecode.club.bytecodeviewer.obfuscators.mapping.Refactorer;
import the.bytecode.club.bytecodeviewer.plugin.PluginManager; import the.bytecode.club.bytecodeviewer.plugin.PluginManager;
import the.bytecode.club.bytecodeviewer.util.*; import the.bytecode.club.bytecodeviewer.util.*;
import the.bytecode.club.bytecodeviewer.util.resources.ImportResource; import the.bytecode.club.bytecodeviewer.util.resources.importing.ImportResource;
import static the.bytecode.club.bytecodeviewer.Constants.*; import static the.bytecode.club.bytecodeviewer.Constants.*;

View file

@ -1,25 +1,13 @@
package the.bytecode.club.bytecodeviewer.util.resources; package the.bytecode.club.bytecodeviewer.util.resources.importing;
import org.apache.commons.io.FileUtils;
import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.api.ExceptionUI; import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
import the.bytecode.club.bytecodeviewer.gui.resourcelist.ResourceListPane; import the.bytecode.club.bytecodeviewer.gui.resourcelist.ResourceListPane;
import the.bytecode.club.bytecodeviewer.gui.MainViewerGUI; import the.bytecode.club.bytecodeviewer.gui.MainViewerGUI;
import the.bytecode.club.bytecodeviewer.util.*;
import java.io.File; import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Objects; import java.util.Objects;
import static the.bytecode.club.bytecodeviewer.Constants.tempDirectory;
import static the.bytecode.club.bytecodeviewer.Constants.fs;
/*************************************************************************** /***************************************************************************
* Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite * * Bytecode Viewer (BCV) - Java & Android Reverse Engineering Suite *
* Copyright (C) 2014 Kalen 'Konloch' Kinloch - http://bytecodeviewer.com * * Copyright (C) 2014 Kalen 'Konloch' Kinloch - http://bytecodeviewer.com *

View file

@ -1,6 +1,6 @@
package the.bytecode.club.bytecodeviewer.util.resources; package the.bytecode.club.bytecodeviewer.util.resources.importing;
import the.bytecode.club.bytecodeviewer.util.resources.impl.*; import the.bytecode.club.bytecodeviewer.util.resources.importing.impl.*;
/** /**
* @author Konloch * @author Konloch

View file

@ -1,4 +1,4 @@
package the.bytecode.club.bytecodeviewer.util.resources; package the.bytecode.club.bytecodeviewer.util.resources.importing;
import java.io.File; import java.io.File;

View file

@ -1,10 +1,10 @@
package the.bytecode.club.bytecodeviewer.util.resources.impl; package the.bytecode.club.bytecodeviewer.util.resources.importing.impl;
import org.apache.commons.io.FileUtils; import org.apache.commons.io.FileUtils;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.api.ExceptionUI; import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
import the.bytecode.club.bytecodeviewer.util.*; import the.bytecode.club.bytecodeviewer.util.*;
import the.bytecode.club.bytecodeviewer.util.resources.Importer; import the.bytecode.club.bytecodeviewer.util.resources.importing.Importer;
import java.io.File; import java.io.File;
import java.util.Objects; import java.util.Objects;

View file

@ -1,11 +1,11 @@
package the.bytecode.club.bytecodeviewer.util.resources.impl; package the.bytecode.club.bytecodeviewer.util.resources.importing.impl;
import org.objectweb.asm.tree.ClassNode; import org.objectweb.asm.tree.ClassNode;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.api.ExceptionUI; import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
import the.bytecode.club.bytecodeviewer.util.FileContainer; import the.bytecode.club.bytecodeviewer.util.FileContainer;
import the.bytecode.club.bytecodeviewer.util.JarUtils; import the.bytecode.club.bytecodeviewer.util.JarUtils;
import the.bytecode.club.bytecodeviewer.util.resources.Importer; import the.bytecode.club.bytecodeviewer.util.resources.importing.Importer;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;

View file

@ -1,10 +1,10 @@
package the.bytecode.club.bytecodeviewer.util.resources.impl; package the.bytecode.club.bytecodeviewer.util.resources.importing.impl;
import org.apache.commons.io.FileUtils; import org.apache.commons.io.FileUtils;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.api.ExceptionUI; import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
import the.bytecode.club.bytecodeviewer.util.*; import the.bytecode.club.bytecodeviewer.util.*;
import the.bytecode.club.bytecodeviewer.util.resources.Importer; import the.bytecode.club.bytecodeviewer.util.resources.importing.Importer;
import java.io.File; import java.io.File;

View file

@ -1,8 +1,8 @@
package the.bytecode.club.bytecodeviewer.util.resources.impl; package the.bytecode.club.bytecodeviewer.util.resources.importing.impl;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.util.FileContainer; import the.bytecode.club.bytecodeviewer.util.FileContainer;
import the.bytecode.club.bytecodeviewer.util.resources.Importer; import the.bytecode.club.bytecodeviewer.util.resources.importing.Importer;
import java.io.File; import java.io.File;
import java.nio.file.Files; import java.nio.file.Files;

View file

@ -1,9 +1,9 @@
package the.bytecode.club.bytecodeviewer.util.resources.impl; package the.bytecode.club.bytecodeviewer.util.resources.importing.impl;
import the.bytecode.club.bytecodeviewer.BytecodeViewer; import the.bytecode.club.bytecodeviewer.BytecodeViewer;
import the.bytecode.club.bytecodeviewer.util.FileContainer; import the.bytecode.club.bytecodeviewer.util.FileContainer;
import the.bytecode.club.bytecodeviewer.util.JarUtils; import the.bytecode.club.bytecodeviewer.util.JarUtils;
import the.bytecode.club.bytecodeviewer.util.resources.Importer; import the.bytecode.club.bytecodeviewer.util.resources.importing.Importer;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;

View file

@ -1,8 +1,8 @@
package the.bytecode.club.bytecodeviewer.util.resources.impl; package the.bytecode.club.bytecodeviewer.util.resources.importing.impl;
import the.bytecode.club.bytecodeviewer.api.ExceptionUI; import the.bytecode.club.bytecodeviewer.api.ExceptionUI;
import the.bytecode.club.bytecodeviewer.util.JarUtils; import the.bytecode.club.bytecodeviewer.util.JarUtils;
import the.bytecode.club.bytecodeviewer.util.resources.Importer; import the.bytecode.club.bytecodeviewer.util.resources.importing.Importer;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;