Segment, it's cleaner to pull it
out into a separate class, not least because methods can then be used to determine the semantic meaning of the flags. In languages with a pre-processor,
these may be defined by macros that do bitflag manipulation instead.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final int | |
| private static final int | UNUSED
The bit flags that are defined as unused by the specification; specifically, every bit above bit 13 and bit 3. |
| Access | Constructor and Description |
|---|---|
| public | SegmentOptions(final int
the integer value to use as the flags options)Creates a new segment options with the given integer value. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean |
| DEFLATE_HINT | back to summary |
|---|---|
| private static final int DEFLATE_HINT | |
| HAVE_ALL_CODE_FLAGS | back to summary |
|---|---|
| private static final int HAVE_ALL_CODE_FLAGS | |
| HAVE_CLASS_FLAGS_HI | back to summary |
|---|---|
| private static final int HAVE_CLASS_FLAGS_HI | |
| HAVE_CODE_FLAGS_HI | back to summary |
|---|---|
| private static final int HAVE_CODE_FLAGS_HI | |
| HAVE_CP_NUMBERS | back to summary |
|---|---|
| private static final int HAVE_CP_NUMBERS | |
| HAVE_FIELD_FLAGS_HI | back to summary |
|---|---|
| private static final int HAVE_FIELD_FLAGS_HI | |
| HAVE_FILE_HEADERS | back to summary |
|---|---|
| private static final int HAVE_FILE_HEADERS | |
| HAVE_FILE_MODTIME | back to summary |
|---|---|
| private static final int HAVE_FILE_MODTIME | |
| HAVE_FILE_OPTIONS | back to summary |
|---|---|
| private static final int HAVE_FILE_OPTIONS | |
| HAVE_FILE_SIZE_HI | back to summary |
|---|---|
| private static final int HAVE_FILE_SIZE_HI | |
| HAVE_METHOD_FLAGS_HI | back to summary |
|---|---|
| private static final int HAVE_METHOD_FLAGS_HI | |
| HAVE_SPECIAL_FORMATS | back to summary |
|---|---|
| private static final int HAVE_SPECIAL_FORMATS | |
| options | back to summary |
|---|---|
| private final int options | |
| UNUSED | back to summary |
|---|---|
| private static final int UNUSED The bit flags that are defined as unused by the specification; specifically, every bit above bit 13 and bit 3. | |
| SegmentOptions | back to summary |
|---|---|
| public SegmentOptions(final int options) throws Pack200Exception Creates a new segment options with the given integer value.
| |
| hasAllCodeFlags | back to summary |
|---|---|
| public boolean hasAllCodeFlags() | |
| hasArchiveFileCounts | back to summary |
|---|---|
| public boolean hasArchiveFileCounts() | |
| hasClassFlagsHi | back to summary |
|---|---|
| public boolean hasClassFlagsHi() | |
| hasCodeFlagsHi | back to summary |
|---|---|
| public boolean hasCodeFlagsHi() | |
| hasCPNumberCounts | back to summary |
|---|---|
| public boolean hasCPNumberCounts() | |
| hasFieldFlagsHi | back to summary |
|---|---|
| public boolean hasFieldFlagsHi() | |
| hasFileModtime | back to summary |
|---|---|
| public boolean hasFileModtime() | |
| hasFileOptions | back to summary |
|---|---|
| public boolean hasFileOptions() | |
| hasFileSizeHi | back to summary |
|---|---|
| public boolean hasFileSizeHi() | |
| hasMethodFlagsHi | back to summary |
|---|---|
| public boolean hasMethodFlagsHi() | |
| hasSpecialFormats | back to summary |
|---|---|
| public boolean hasSpecialFormats() | |
| shouldDeflate | back to summary |
|---|---|
| public boolean shouldDeflate() | |