Package pro.gravit.launchserver.binary
Class BuildContext
java.lang.Object
pro.gravit.launchserver.binary.BuildContext
-
Field Summary
FieldsModifier and TypeFieldDescription -
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)voidvoidvoidvoidvoidpushJarFile(ZipInputStream input)Deprecated.voidpushJarFile(ZipInputStream input, Set<String> blacklist)Deprecated.
-
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
Deprecated.- Throws:
IOException
-
pushJarFile
@Deprecated public void pushJarFile(ZipInputStream input, Set<String> blacklist) throws IOExceptionDeprecated.- 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
-