Class FSUtil

java.lang.Object
io.odilon.client.util.FSUtil

public class FSUtil extends Object

General utilities for files

Author:
atolomei@novamens.com (Alejandro Tolomei)
  • Constructor Details

    • FSUtil

      public FSUtil()
  • Method Details

    • getBaseName

      public static String getBaseName(String filename)
    • isImage

      public static boolean isImage(File file)
    • isVideo

      public static boolean isVideo(File file)
    • isAudio

      public static boolean isAudio(File file)
    • isGeneralImage

      public static boolean isGeneralImage(String string)
    • isImage

      public static boolean isImage(String string)
    • isText

      public static boolean isText(File file)
    • isText

      public static boolean isText(String name)
    • isWord

      public static boolean isWord(File file)
    • isWord

      public static boolean isWord(String name)
    • isPdf

      public static boolean isPdf(String filename)
    • isPdf

      public static boolean isPdf(File file)
    • isExcel

      public static boolean isExcel(File file)
    • isExcel

      public static boolean isExcel(String name)
    • isMSOffice

      public static boolean isMSOffice(String name)
    • isCSV

      public static boolean isCSV(File file)
    • isCSV

      public static boolean isCSV(String name)
    • isPowerpoint

      public static boolean isPowerpoint(File file)
    • isPowerpoint

      public static boolean isPowerpoint(String name)
    • isJar

      public static boolean isJar(String filename)
    • isZip

      public static boolean isZip(String filename)
    • isVideo

      public static boolean isVideo(String filename)
    • isAudio

      public static boolean isAudio(String filename)
    • isExecutable

      public static boolean isExecutable(File srcfile)
    • isExecutable

      public static boolean isExecutable(String fileName)
    • isMsg

      public static boolean isMsg(File srcfile)
    • isMSOffice

      public static boolean isMSOffice(File file)
    • isOCRCandidate

      public static boolean isOCRCandidate(String filename)
    • isOCRCandidate

      public static boolean isOCRCandidate(File file)
    • getExtension

      public static String getExtension(String filename)
    • getEncrytedFileName

      public static String getEncrytedFileName(String filename)
    • isLog

      public static boolean isLog(String name)