Package pro.gravit.launchserver.binary
Class LauncherBinary
- java.lang.Object
-
- pro.gravit.launchserver.binary.BinaryPipeline
-
- pro.gravit.launchserver.binary.LauncherBinary
-
- Direct Known Subclasses:
EXEL4JLauncherBinary,EXELauncherBinary,JARLauncherBinary
public abstract class LauncherBinary extends BinaryPipeline
-
-
Field Summary
Fields Modifier and Type Field Description LaunchServerserverjava.nio.file.PathsyncBinaryFile-
Fields inherited from class pro.gravit.launchserver.binary.BinaryPipeline
buildDir, count, nameFormat, tasks
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLauncherBinary(LaunchServer server, java.nio.file.Path binaryFile, java.lang.String nameFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild()booleanexists()byte[]getDigest()byte[]getSign()voidinit()static java.nio.file.Pathresolve(LaunchServer server, java.lang.String ext)booleansync()-
Methods inherited from class pro.gravit.launchserver.binary.BinaryPipeline
add, addAfter, addCounted, addPre, build, getTaskByClass, getTasksByClass, nextLowerPath, nextName, nextPath, nextPath, replace, replaceAfter, replaceCounted, replacePre
-
-
-
-
Field Detail
-
server
public final LaunchServer server
-
syncBinaryFile
public final java.nio.file.Path syncBinaryFile
-
-
Constructor Detail
-
LauncherBinary
protected LauncherBinary(LaunchServer server, java.nio.file.Path binaryFile, java.lang.String nameFormat)
-
-
Method Detail
-
build
public void build() throws java.io.IOException- Throws:
java.io.IOException
-
exists
public final boolean exists()
-
getDigest
public final byte[] getDigest()
-
getSign
public final byte[] getSign()
-
init
public void init()
-
sync
public final boolean sync() throws java.io.IOException- Throws:
java.io.IOException
-
resolve
public static java.nio.file.Path resolve(LaunchServer server, java.lang.String ext)
-
-