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
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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