public static boolean isHiddenFile(FileObject fileObject) {
    try {
      return fileObject.getName().getBaseName().charAt(0) == '.';
    } catch (Exception ex) {
      return false;
    }
  }
Tells whether a file is hidden

@param fileObject a file representation
@return whether a file is hidden
olv-vfs/src/main/java/pl/otros/vfs/browser/util/VFSUtils.java