@ Pure public static boolean isCaseSensitiveFilenameSystem ( ) { switch ( OperatingSystem . getCurrentOS ( ) ) { case AIX : case ANDROID : case BSD : case FREEBSD : case NETBSD : case OPENBSD : case LINUX : case SOLARIS : case HPUX : return true ; //$CASES-OMITTED$ default : return false ; } }
Replies if the current operating system uses case - sensitive filename .