Class RevealFileUtils

java.lang.Object
edu.jiangxin.apktoolbox.utils.RevealFileUtils

public final class RevealFileUtils extends Object
Cross-platform helper for revealing a file or folder in the native file-manager.
  • Method Details

    • revealFile

      public static void revealFile(File file)
      Opens the system file-manager and highlights the supplied file or folder.
      Parameters:
      file - the file or folder to reveal
      Throws:
      IOException - if the file does not exist or the platform command fails
    • revealDirectory

      public static void revealDirectory(File file)