public class Zip4jUtil extends Object
| Constructor and Description |
|---|
Zip4jUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
convertCharArrayToByteArray(char[] charArray) |
static boolean |
createDirectoryIfNotExists(File file) |
static long |
dosToExtendedEpochTme(long dosTime) |
static long |
epochToExtendedDosTime(long time) |
static CompressionMethod |
getCompressionMethod(AbstractFileHeader localFileHeader) |
static boolean |
isStringNotNullAndNotEmpty(String str) |
static int |
readFully(InputStream inputStream,
byte[] bufferToReadInto) |
static int |
readFully(InputStream inputStream,
byte[] b,
int offset,
int length) |
public static boolean isStringNotNullAndNotEmpty(String str)
public static boolean createDirectoryIfNotExists(File file) throws ZipException
ZipExceptionpublic static long epochToExtendedDosTime(long time)
public static long dosToExtendedEpochTme(long dosTime)
public static byte[] convertCharArrayToByteArray(char[] charArray)
public static CompressionMethod getCompressionMethod(AbstractFileHeader localFileHeader)
public static int readFully(InputStream inputStream, byte[] bufferToReadInto) throws IOException
IOExceptionpublic static int readFully(InputStream inputStream, byte[] b, int offset, int length) throws IOException
IOExceptionCopyright © 2021. All rights reserved.