Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.pkg.client
Class FileAction

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

All Implemented Interfaces:
  java.lang.Comparable<Action>

    public final class FileAction

extends AbstractFileAction

A `FileAction` is an action that represents a file within the image.

Author:
  trm

Method Summary
`java.lang.String` | `getHash()`
`int` | `getSize()` Gets the size of this file.
`void` | `setGzipFile(java.io.File f)`
`java.lang.String` | `toString()`

Methods inherited from class com.sun.pkg.client.AbstractFileAction
`getGroup, getMode, getOwner, getPath`

Methods inherited from class com.sun.pkg.client.Action
`compareTo, equals, hashCode`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Method Detail

### getHash

    public java.lang.String getHash()

### getSize

    public int getSize()

  Gets the size of this file.

  Overrides:
    `getSize` in class `Action`
  Returns:
    the size of the action

### setGzipFile

    public void setGzipFile(java.io.File f)

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD