Package dev.relism.flash.ext.webbundler
Record Class AssetEntry
java.lang.Object
java.lang.Record
dev.relism.flash.ext.webbundler.AssetEntry
-
Constructor Summary
ConstructorsConstructorDescriptionAssetEntry(byte[] raw, byte[] br, byte[] gz, String etag, String mimeType, boolean immutable) Creates an instance of aAssetEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]br()Returns the value of thebrrecord component.final booleanIndicates whether some other object is "equal to" this one.etag()Returns the value of theetagrecord component.byte[]gz()Returns the value of thegzrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theimmutablerecord component.mimeType()Returns the value of themimeTyperecord component.byte[]raw()Returns the value of therawrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssetEntry
public AssetEntry(byte[] raw, byte[] br, byte[] gz, String etag, String mimeType, boolean immutable) Creates an instance of aAssetEntryrecord class.- Parameters:
raw- the value for therawrecord componentbr- the value for thebrrecord componentgz- the value for thegzrecord componentetag- the value for theetagrecord componentmimeType- the value for themimeTyperecord componentimmutable- the value for theimmutablerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
raw
public byte[] raw()Returns the value of therawrecord component.- Returns:
- the value of the
rawrecord component
-
br
public byte[] br()Returns the value of thebrrecord component.- Returns:
- the value of the
brrecord component
-
gz
public byte[] gz()Returns the value of thegzrecord component.- Returns:
- the value of the
gzrecord component
-
etag
Returns the value of theetagrecord component.- Returns:
- the value of the
etagrecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
immutable
public boolean immutable()Returns the value of theimmutablerecord component.- Returns:
- the value of the
immutablerecord component
-