Record Class ZipBinaryContent
java.lang.Object
java.lang.Record
org.ek9lang.core.ZipBinaryContent
-
Constructor Summary
ConstructorsConstructorDescriptionZipBinaryContent(String entryName, byte[] content) Creates an instance of aZipBinaryContentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]content()Returns the value of thecontentrecord component.Returns the value of theentryNamerecord component.booleanIndicates whether some other object is "equal to" this one.byte[]inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.
-
Constructor Details
-
ZipBinaryContent
Creates an instance of aZipBinaryContentrecord class.- Parameters:
entryName- the value for theentryNamerecord componentcontent- the value for thecontentrecord component
-
-
Method Details
-
getEntryName
-
getContent
public byte[] getContent() -
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. All components in this record class are compared withObjects::equals(Object,Object). -
hashCode
-
toString
-
entryName
Returns the value of theentryNamerecord component.- Returns:
- the value of the
entryNamerecord component
-
content
public byte[] content()Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-