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 LicenseAction

    java.lang.Object
      com.sun.pkg.client.Action
          com.sun.pkg.client.LicenseAction

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

    public final class LicenseAction

extends Action

A `LicenseAction` is a file action that represents a license file within the image.

Author:
  trm

Method Summary
`java.lang.String` | `getHash()`
`java.lang.String` | `getName()` Obtain the name of the license.
`int` | `getSize()` Return the size of the installed bits for this action.
`java.lang.String` | `getText()` Obtain the license text.
`void` | `setGzipFile(java.io.File f)`
`java.lang.String` | `toString()`

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

### toString

    public java.lang.String toString()

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

### getHash

    public java.lang.String getHash()

### getSize

    public int getSize()

  Description copied from class: `Action`
  Return the size of the installed bits for this action.

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

### getName

    public java.lang.String getName()

  Obtain the name of the license.

  Returns:
    the name of the license

### getText

    public java.lang.String getText()
                             throws java.io.IOException

  Obtain the license text.

  Returns:
    the text of the license
  Throws:
    `java.io.IOException`

### setGzipFile

    public void setGzipFile(java.io.File f)

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