Interface FileTest


public interface FileTest
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    %TRUE if the file exists.
    static final int
    %TRUE if the file is a directory.
    static final int
    %TRUE if the file is executable.
    static final int
    %TRUE if the file is a regular file
    (not a directory).
    static final int
    %TRUE if the file is a symlink.
  • Field Details

    • IS_REGULAR

      static final int IS_REGULAR
      %TRUE if the file is a regular file
      (not a directory). Note that this test will also return %TRUE
      if the tested file is a symlink to a regular file.
      See Also:
    • IS_DIR

      static final int IS_DIR
      %TRUE if the file is a directory.
      See Also:
    • IS_EXECUTABLE

      static final int IS_EXECUTABLE
      %TRUE if the file is executable.
      See Also:
    • EXISTS

      static final int EXISTS
      %TRUE if the file exists. It may or may not
      be a regular file.
      See Also: