Uses of Class
net.mtrop.doom.WadEntry
Packages that use WadEntry
Package
Description
Contains the base structural abstracts for this library.
Contains utility classes.
-
Uses of WadEntry in net.mtrop.doom
Subinterfaces with type arguments of type WadEntry in net.mtrop.doomModifier and TypeInterfaceDescriptioninterfaceBase interface for all WAD file type implementations for reading and writing to WAD structures, either in memory or on disk.Fields in net.mtrop.doom declared as WadEntryMethods in net.mtrop.doom that return WadEntryModifier and TypeMethodDescriptiondefault WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.default <BO extends BinaryObject>
WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.default <BO extends BinaryObject>
WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.default WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.default WadEntryWad.addData(String entryName, InputStream in) Adds data to this Wad, usingentryNameas the name of the new entry.default WadEntryWad.addData(String entryName, InputStream in, int maxLength) Adds data to this Wad, usingentryNameas the name of the new entry.default <TO extends TextObject>
WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.Adds data to this Wad, usingentryNameas the name of the new entry.<BO extends BinaryObject>
WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.<BO extends BinaryObject>
WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.Adds data to this Wad, usingentryNameas the name of the new entry.WadFile.Adder.addData(String entryName, InputStream in) Adds data to this Wad, usingentryNameas the name of the new entry.WadFile.Adder.addData(String entryName, InputStream in, int maxLength) Adds data to this Wad, usingentryNameas the name of the new entry.<TO extends TextObject>
WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.WadMap.addData(String entryName, InputStream in, int maxLength) default WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.default <BO extends BinaryObject>
WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.default <BO extends BinaryObject>
WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.default WadEntryAdds data to this Wad, usingentryNameas the name of the new entry.default WadEntryWad.addDataAt(int index, String entryName, InputStream in) Adds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.Wad.addDataAt(int index, String entryName, InputStream in, int maxLength) Adds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.default <TO extends TextObject>
WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.WadBuffer.addDataAt(int index, String entryName, InputStream in, int maxLength) WadFile.addDataAt(int index, String entryName, InputStream in, int maxLength) Adds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.<BO extends BinaryObject>
WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.<BO extends BinaryObject>
WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.Adds data to this Wad, usingentryNameas the name of the new entry.WadFile.Adder.addDataAt(int index, String entryName, InputStream in) Adds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.WadFile.Adder.addDataAt(int index, String entryName, InputStream in, int maxLength) Adds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.<TO extends TextObject>
WadEntryAdds data to this Wad at a particular entry offset, usingentryNameas the name of the entry.WadMap.addDataAt(int index, String entryName, InputStream in, int maxLength) default WadEntryAdds a new entry to the Wad, but with an explicit offset and size.default WadEntryAdds a new entry to the Wad.Adds a new entry to the Wad, but with an explicit offset and size.default WadEntryWad.addEntryAt(int index, String entryName, int offset, int length) Adds a new entry to the Wad at a specific index, but with an explicit offset and size.Wad.addEntryAt(int index, WadEntry entry) Adds a new entry to the Wad.WadBuffer.addEntryAt(int index, WadEntry entry) WadFile.addEntryAt(int index, WadEntry entry) WadMap.addEntryAt(int index, WadEntry entry) default WadEntryAdds an entry marker to the Wad (entry with 0 size, arbitrary offset).Adds an entry marker to the Wad (entry with 0 size, arbitrary offset).default WadEntryWad.addMarkerAt(int index, String entryName) Adds an entry marker to the Wad (entry with 0 size, arbitrary offset).WadFile.Adder.addMarkerAt(int index, String entryName) Adds an entry marker to the Wad (entry with 0 size, arbitrary offset).static WadEntryWadEntry.create(byte[] b) Creates a WadEntry.static WadEntryCreates an empty WadEntry with an offset of 12 (beginning of content) and size zero.static WadEntryCreates a WadEntry.Wad.deleteEntry(int index) Deletes a Wad's entry and its contents.WadBuffer.deleteEntry(int n) WadFile.deleteEntry(int n) WadMap.deleteEntry(int n) default WadEntry[]Wad.getAllEntries()Returns all WadEntry objects (in a new array).default WadEntry[]Wad.getAllEntries(String entryName) Returns all WadEntry objects namedentryName.Wad.getEntry(int n) Gets the WadEntry at index n.default WadEntryGets the first WadEntry namedentryName.default WadEntryZ Gets the first WadEntry namedentryName, starting from a particular index.default WadEntryGets the first WadEntry namedentryName, starting from a particular entry's index.WadBuffer.getEntry(int n) WadFile.getEntry(int n) WadMap.getEntry(int n) default WadEntryWad.getLastEntry(String entryName) Gets the last WadEntry namedentryName.default WadEntryWad.getNthEntry(String entryName, int n) Gets the n-th WadEntry namedentryName.default WadEntry[]Wad.mapEntries(int startIndex, int maxLength) Retrieves a contiguous set of entries from this Wad, starting from a desired index.Wad.removeEntry(int index) Remove a Wad's entry (but not contents).WadBuffer.removeEntry(int n) WadFile.removeEntry(int n) WadMap.removeEntry(int n) WadEntry.withNewName(String name) Makes a copy of this entry with a new name.WadEntry.withNewOffset(int offset) Makes a copy of this entry with a new offset.WadEntry.withNewSize(int size) Makes a copy of this entry with a new size.Methods in net.mtrop.doom that return types with arguments of type WadEntryMethods in net.mtrop.doom with parameters of type WadEntryModifier and TypeMethodDescriptiondefault WadEntryAdds a new entry to the Wad.Wad.addEntryAt(int index, WadEntry entry) Adds a new entry to the Wad.WadBuffer.addEntryAt(int index, WadEntry entry) WadFile.addEntryAt(int index, WadEntry entry) WadMap.addEntryAt(int index, WadEntry entry) default voidTakes entries and their data from another Wad and adds it to this one.default voidTakes entries and their data from another Wad and adds it to this one at a specific index.voidstatic WadBufferCreates a new WadBuffer from a subset of entries (and their data) from another Wad.static WadFileCreates a new WadFile from a subset of entries (and their data) from another Wad.default intFetches the data of the specified entry and puts it in a provided array.default byte[]Retrieves the data of the specified entry.byte[]default <BO extends BinaryObject>
BORetrieves the data of the specified entry as a deserialized lump.default <BO extends BinaryObject>
BO[]Retrieves the data of the specified entry as a deserialized lump of multiple objects.default <BO extends BinaryObject>
List<BO> Wad.getDataAsList(WadEntry entry, Class<BO> type, int objectLength) Retrieves the data of the specified entry as a deserialized lump of multiple objects.default <BO extends BinaryObject>
BinaryObject.InlineScanner<BO> Wad.getInlineScanner(WadEntry entry, Class<BO> type, int objectLength) Retrieves the data of the specified entry and returns it as a deserializing scanner iterator that returns the same object instance with its contents changed.default InputStreamWad.getInputStream(WadEntry entry) Retrieves the data of the specified entry from a starting index and returns it as a stream.WadBuffer.getInputStream(WadEntry entry) WadMap.getInputStream(WadEntry entry) default ReaderRetrieves a Reader for the specified entry as a decoded stream of characters.default <BO extends BinaryObject>
BinaryObject.Scanner<BO> Wad.getScanner(WadEntry entry, Class<BO> type, int objectLength) Retrieves the data of the specified entry and returns it as a deserializing scanner iterator that returns independent instances of objects.default StringWad.getTextData(WadEntry entry, Charset charset) Retrieves the data of the specified entry as a decoded string of characters.default <TO extends TextObject>
TOWad.getTextDataAs(WadEntry entry, Charset charset, Class<TO> type) Retrieves the data of the specified entry as an interpreted text-originating object.voidWad.setEntries(WadEntry... entryList) Completely replaces the list of entries in this Wad with a completely different set of entries.voidWadBuffer.setEntries(WadEntry... entryList) voidWadFile.setEntries(WadEntry... entryList) voidWadMap.setEntries(WadEntry... entryList) default voidReplaces an entry in the Wad - no content, just descriptor.voidWad.unmapEntries(int startIndex, WadEntry... entryList) Replaces a series of WadEntry objects in this Wad, using the provided list of entries as the replacement list.voidWadBuffer.unmapEntries(int startIndex, WadEntry... entryList) voidWadFile.unmapEntries(int startIndex, WadEntry... entryList) voidWadMap.unmapEntries(int startIndex, WadEntry... entryList) -
Uses of WadEntry in net.mtrop.doom.util
Methods in net.mtrop.doom.util that return WadEntryModifier and TypeMethodDescriptionWadEntry[]WadUtils.WadEntryAccumulator.get()Gets all of the entries in this accumulator, in the order that they were added to it.static WadEntry[]WadUtils.getEntriesInNamespace(Wad wad, String prefix) Finds all entries within a WAD entry namespace.static WadEntry[]WadUtils.getEntriesInNamespace(Wad wad, String prefix, Pattern ignorePattern) Finds all entries within a WAD entry namespace.static WadEntry[]MapUtils.getMapEntries(Wad wad, int startIndex) Returns the entries in a map, including the header.static WadEntry[]MapUtils.getMapEntries(Wad wad, String header) Returns the entries in a map, including the header, if the map is found.Methods in net.mtrop.doom.util with parameters of type WadEntryModifier and TypeMethodDescriptionAdds a single entry to the list.Adds a set of entries to the list in the order that they are in the array.static WadUtils.WadEntryAccumulatorWadUtils.withEntries(WadEntry... entries) Creates a WadEntry accumulator with a set of entries.