|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.Pack
Represents a Pack.
Field Summary | |
java.lang.String |
description
The pack description. |
private static java.text.DecimalFormat |
formatter
Used of conversions. |
private static double |
GIGABYTES
Used of conversions. |
private static double |
KILOBYTES
Used of conversions. |
private static double |
MEGABYTES
Used of conversions. |
java.lang.String |
name
The pack name. |
long |
nbytes
The bumber of bytes contained in the pack. |
java.util.List |
osConstraints
The target operation system of this pack |
boolean |
preselected
Whether this pack is suggested (preselected for installation). |
boolean |
required
True if the pack is required. |
Constructor Summary | |
Pack(java.lang.String name,
java.lang.String description,
java.util.List osConstraints,
boolean required,
boolean preselected)
The constructor. |
Method Summary | |
static java.lang.String |
toByteUnitsString(int bytes)
Convert bytes into appropiate mesaurements. |
java.lang.String |
toString()
To a String (usefull for JLists). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String name
public java.lang.String description
public java.util.List osConstraints
public boolean required
public long nbytes
public boolean preselected
private static final double KILOBYTES
private static final double MEGABYTES
private static final double GIGABYTES
private static final java.text.DecimalFormat formatter
Constructor Detail |
public Pack(java.lang.String name, java.lang.String description, java.util.List osConstraints, boolean required, boolean preselected)
name
- The pack name.description
- The pack description.required
- Indicates wether the pack is required or not.Method Detail |
public java.lang.String toString()
public static java.lang.String toByteUnitsString(int bytes)
bytes
- A number of bytes to convert to a String.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |