Package org.openl.util
Class FileSignatureHelper
java.lang.Object
org.openl.util.FileSignatureHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisArchiveSign(int sign) Verifies if first 4 bytes matches archive signaturestatic booleanisEmptyArchive(int sing)
-
Method Details
-
isArchiveSign
public static boolean isArchiveSign(int sign) Verifies if first 4 bytes matches archive signature- Parameters:
sign- first 4 bytes- Returns:
trueif it's archive, otherwisefalse- See Also:
-
isEmptyArchive
public static boolean isEmptyArchive(int sing)
-