Class ItemsAdderPackCompressedEvent.PackEntry
java.lang.Object
dev.lone.itemsadder.api.Events.ItemsAdderPackCompressedEvent.PackEntry
- Enclosing class:
ItemsAdderPackCompressedEvent
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PackEntry
public PackEntry()
-
-
Method Details
-
stream
public static ItemsAdderPackCompressedEvent.PackEntry stream(String path, ItemsAdderPackCompressedEvent.InputStreamSupplier inputStreamSupplier) -
writer
public static ItemsAdderPackCompressedEvent.PackEntry writer(String path, ItemsAdderPackCompressedEvent.EntryWriter writer) -
bytes
-
getPath
-
openStream
- Throws:
IOException
-
getBytes
- Throws:
IOException
-
getText
- Throws:
IOException
-
setBytes
public void setBytes(byte[] bytes) -
setText
-
isRemoved
public boolean isRemoved() -
remove
public void remove()
-