Package io.odilon.client.util
Class FSUtil
java.lang.Object
io.odilon.client.util.FSUtil
General utilities for files
- Author:
- atolomei@novamens.com (Alejandro Tolomei)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getBaseName
(String filename) static String
getEncrytedFileName
(String filename) static String
getExtension
(String filename) static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
isExecutable
(File srcfile) static boolean
isExecutable
(String fileName) static boolean
isGeneralImage
(String string) static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
isMSOffice
(File file) static boolean
isMSOffice
(String name) static boolean
isOCRCandidate
(File file) static boolean
isOCRCandidate
(String filename) static boolean
static boolean
static boolean
isPowerpoint
(File file) static boolean
isPowerpoint
(String name) static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
-
Constructor Details
-
FSUtil
public FSUtil()
-
-
Method Details
-
getBaseName
-
isImage
-
isVideo
-
isAudio
-
isGeneralImage
-
isImage
-
isText
-
isText
-
isWord
-
isWord
-
isPdf
-
isPdf
-
isExcel
-
isExcel
-
isMSOffice
-
isCSV
-
isCSV
-
isPowerpoint
-
isPowerpoint
-
isJar
-
isZip
-
isVideo
-
isAudio
-
isExecutable
-
isExecutable
-
isMsg
-
isMSOffice
-
isOCRCandidate
-
isOCRCandidate
-
getExtension
-
getEncrytedFileName
-
isLog
-