Package com.jackmeng.core.util
Class use_FSys
java.lang.Object
com.jackmeng.core.util.use_FSys
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
deserialize_OBJ
(String locale, Class<T> example, impl_ForYou<Exception> errorCallback, impl_ForYou<T> promise) static String
static String
static void
interpolated_ReadFromFile
(File source, BiConsumer<Long, String> readLambda) static byte[]
readFromFile_b
(File source) static boolean
s_containsFileOfType
(File dir, String... extensions) static boolean
s_containsOnlyFiles
(File dir) static void
serialize_OBJ
(String locale, Serializable e, impl_ForYou<Exception> errorCallback) static File[]
static File[]
static void
writeToFile_O
(String content, File source)
-
Constructor Details
-
use_FSys
private use_FSys()
-
-
Method Details
-
unzip
- Parameters:
pathToZip
-bufferSize
-- Returns:
- File[]
- Throws:
IOException
-
s_containsFileOfType
-
serialize_OBJ
public static void serialize_OBJ(String locale, Serializable e, impl_ForYou<Exception> errorCallback) -
writeToFile_O
-
interpolated_ReadFromFile
-
readFromFile_b
-
deserialize_OBJ
public static <T> void deserialize_OBJ(String locale, Class<T> example, impl_ForYou<Exception> errorCallback, impl_ForYou<T> promise) -
s_containsOnlyFiles
-
unzip
- Parameters:
file
-bufferSize
-- Returns:
- File[]
- Throws:
IOException
-
fread_1
- Throws:
IOException
-
fread_2
- Throws:
IOException
-