public interface OptionalHeader
Modifier and Type | Field and Description |
---|---|
static short |
MAGIC_PE32
Magic number for a PE32 file
|
static short |
MAGIC_PE32_PLUS
Magic number for a PE32+ file
|
static short |
MAGIC_ROM_IMAGE
Magic number for a "ROM image"
|
Modifier and Type | Method and Description |
---|---|
OptionalHeaderDataDirectories |
getDataDirectories()
Gets the data directories portion of the optional header.
|
short |
getMagicNumber()
|
OptionalHeaderStandardFields |
getStandardFields()
These are defined for all implementations of COFF, including
UNIX.
|
OptionalHeaderWindowsSpecificFields |
getWindowsSpecificFields()
These include additional fields to support specific features of
Windows (for example, subsystem).
|
static final short MAGIC_PE32
static final short MAGIC_PE32_PLUS
static final short MAGIC_ROM_IMAGE
short getMagicNumber()
OptionalHeaderStandardFields getStandardFields()
OptionalHeaderWindowsSpecificFields getWindowsSpecificFields()
OptionalHeaderDataDirectories getDataDirectories()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.