|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.stephenc.javaisotools.iso9660.BootConfig
com.github.stephenc.javaisotools.eltorito.impl.ElToritoConfig
public class ElToritoConfig
| Field Summary | |
|---|---|
static int |
BOOT_MEDIA_TYPE_1_2MEG_DISKETTE
|
static int |
BOOT_MEDIA_TYPE_1_44MEG_DISKETTE
|
static int |
BOOT_MEDIA_TYPE_2_88MEG_DISKETTE
|
static int |
BOOT_MEDIA_TYPE_HD
|
static int |
BOOT_MEDIA_TYPE_NO_EMU
|
static int |
LOAD_SEGMENT_7C0
|
static int |
PLATFORM_ID_EFI
|
static int |
PLATFORM_ID_MAC
|
static int |
PLATFORM_ID_PPC
|
static int |
PLATFORM_ID_X86
|
| Constructor Summary | |
|---|---|
ElToritoConfig(File bootImage,
int emulation,
int platformID,
String idString,
int sectorCount,
int loadSegment)
El Torito Boot Image configuration |
|
| Method Summary | |
|---|---|
boolean |
getBootable()
Returns whether the Boot Image is bootable |
ISO9660File |
getBootImage()
Returns active Boot Image |
int |
getBootMediaType()
Returns active Boot Media Type (Emulation Mode) |
boolean |
getGenBootInfoTable()
Generate Boot Info Table |
String |
getIDString()
Returns active Identifier String |
int |
getLoadSegment()
Returns active Load Segment |
int |
getPlatformID()
Returns active Platform Identifier |
int |
getSectorCount()
Returns active Sector Count |
int |
getSystemType()
Returns active System Type |
void |
setBootable(boolean bootable)
Make bootable |
void |
setBootImage(ISO9660File bootImage)
Set Boot Image |
void |
setEmulation(int bootMediaType)
Set Emulation Mode |
void |
setGenBootInfoTable(boolean genBootInfoTable)
Set Boot Info Table (only allowed for no-emulation images) |
void |
setIDString(String idString)
Set Identifier String |
void |
setLoadSegment(int loadSegment)
Set Load Segment |
void |
setPlatformID(int platformID)
Set Platform Identifier |
void |
setSectorCount(int sectorCount)
Set Sector Count |
void |
setSystemType(int systemType)
Set System Type |
| Methods inherited from class com.github.stephenc.javaisotools.iso9660.BootConfig |
|---|
getBootId, getBootSystemId, setBootId, setBootSystemId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int PLATFORM_ID_X86
public static int PLATFORM_ID_PPC
public static int PLATFORM_ID_MAC
public static int PLATFORM_ID_EFI
public static int BOOT_MEDIA_TYPE_NO_EMU
public static int BOOT_MEDIA_TYPE_1_2MEG_DISKETTE
public static int BOOT_MEDIA_TYPE_1_44MEG_DISKETTE
public static int BOOT_MEDIA_TYPE_2_88MEG_DISKETTE
public static int BOOT_MEDIA_TYPE_HD
public static int LOAD_SEGMENT_7C0
| Constructor Detail |
|---|
public ElToritoConfig(File bootImage,
int emulation,
int platformID,
String idString,
int sectorCount,
int loadSegment)
throws HandlerException,
ConfigException
bootImage - Boot Image fileemulation - Emulation mode: one of BOOT_MEDIA_TYPE_*platformID - Platform Identifier: one of PLATFORM_ID_*idString - Identifier StringsectorCount - Boot Image Sector CountloadSegment - Boot Image Load Segment
HandlerException - Problems converting to ISO9660File
ConfigException - String too long or invalid platform/emulation mode| Method Detail |
|---|
public ISO9660File getBootImage()
public void setBootImage(ISO9660File bootImage)
bootImage - Boot Imagepublic boolean getBootable()
public void setBootable(boolean bootable)
bootable - Whether the Boot Image should be bootable
public void setGenBootInfoTable(boolean genBootInfoTable)
throws ConfigException
genBootInfoTable - Whether to generate a boot info table
ConfigExceptionpublic boolean getGenBootInfoTable()
public void setPlatformID(int platformID)
throws ConfigException
platformID - Platform Identifier: one of PLATFORM_ID_*
ConfigException - Invalid Platform Identifierpublic int getPlatformID()
public void setIDString(String idString)
throws ConfigException
idString - Identifier String
ConfigException - String too longpublic String getIDString()
public int getBootMediaType()
public void setEmulation(int bootMediaType)
throws ConfigException
bootMediaType - Boot Media Type: one of BOOT_MEDIA_TYPE_*
ConfigException - Invalid Boot Media Typepublic int getLoadSegment()
public void setLoadSegment(int loadSegment)
loadSegment - Load Segmentpublic int getSectorCount()
public void setSectorCount(int sectorCount)
sectorCount - Sector Countpublic int getSystemType()
public void setSystemType(int systemType)
systemType - System Type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||