Package pro.gravit.launchserver.binary
Class BuildContext
java.lang.Object
pro.gravit.launchserver.binary.BuildContext
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBuildContext(ZipOutputStream output, List<JarFile> readerClassPath, MainBuildTask task) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidpushEncryptedDir(Path dir, String targetDir, String aesHexKey, Map<String, byte[]> hashMap, boolean hidden) voidpushFile(String filename, InputStream inputStream) voidvoidvoidvoid
-
Field Details
-
output
-
readerClassPath
-
task
-
fileList
-
clientModules
-
-
Constructor Details
-
BuildContext
-
-
Method Details
-
pushFile
- Throws:
IOException
-
pushFile
public void pushFile(String filename, pro.gravit.launcher.serialize.stream.StreamObject object) throws IOException - Throws:
IOException
-
pushFile
- Throws:
IOException
-
pushDir
public void pushDir(Path dir, String targetDir, Map<String, byte[]> hashMap, boolean hidden) throws IOException- Throws:
IOException
-
pushEncryptedDir
public void pushEncryptedDir(Path dir, String targetDir, String aesHexKey, Map<String, byte[]> hashMap, boolean hidden) throws IOException- Throws:
IOException
-
pushBytes
- Throws:
IOException
-
pushJarFile
public void pushJarFile(Path jarfile, Predicate<ZipEntry> filter, Predicate<String> needTransform) throws IOException - Throws:
IOException
-
pushJarFile
public void pushJarFile(URL jarfile, Predicate<ZipEntry> filter, Predicate<String> needTransform) throws IOException - Throws:
IOException
-