com.sun.pkg.client

## Class AbstractFileAction

- java.lang.Object
- - com.sun.pkg.client.Action
  - - com.sun.pkg.client.AbstractFileAction

- All Implemented Interfaces:
    java.lang.Comparable<Action>
  Direct Known Subclasses:
    DirAction, FileAction

      public abstract class AbstractFileAction
      extends Action

  Common part between `DirAction` and `FileAction`, which stems from the fact that they both involve in an object in a directory that has the same set of metadata.
  Author:
    Kohsuke Kawaguchi

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getGroup()` Group of the directory/file.
    `java.lang.String` | `getMode()` Directory permission mode in the octal format.
    `java.lang.String` | `getOwner()` Owner of the directory/file.
    `java.lang.String` | `getPath()` Gets the path of the directory/file.

    - ### Methods inherited from class com.sun.pkg.client.Action

      `compareTo, equals, getSize, hashCode`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getPath

          public java.lang.String getPath()

      Gets the path of the directory/file.
      Returns:
        string like "usr/lib"

    - #### getOwner

          public java.lang.String getOwner()

      Owner of the directory/file.
      Returns:
        string like "root"

    - #### getGroup

          public java.lang.String getGroup()

      Group of the directory/file.
      Returns:
        string like "sys"

    - #### getMode

          public java.lang.String getMode()

      Directory permission mode in the octal format.
      Returns:
        String like "0644".