Record Class SokletServletPrintWriterEvent.FormatPerformed
java.lang.Object
java.lang.Record
com.soklet.servlet.javax.SokletServletPrintWriterEvent.FormatPerformed
- All Implemented Interfaces:
SokletServletPrintWriterEvent
- Enclosing interface:
SokletServletPrintWriterEvent
public static record SokletServletPrintWriterEvent.FormatPerformed(@Nullable Locale locale, @Nonnull String format, @Nonnull Object[] args)
extends Record
implements SokletServletPrintWriterEvent
Event emitted when the result of a "format" operation is written to the
SokletServletPrintWriter.- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from interface SokletServletPrintWriterEvent
SokletServletPrintWriterEvent.CharAppended, SokletServletPrintWriterEvent.CharSequenceAppended, SokletServletPrintWriterEvent.CharsWritten, SokletServletPrintWriterEvent.CharWritten, SokletServletPrintWriterEvent.FormatPerformed, SokletServletPrintWriterEvent.NewlinePrinted, SokletServletPrintWriterEvent.PrintfPerformed, SokletServletPrintWriterEvent.StringWritten, SokletServletPrintWriterEvent.ValuePrinted, SokletServletPrintWriterEvent.ValueWithNewlinePrinted -
Constructor Summary
ConstructorsConstructorDescriptionFormatPerformed(Locale locale, String format, Object[] args) Creates an instance of aFormatPerformedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionObject[]args()Returns the value of theargsrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.locale()Returns the value of thelocalerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FormatPerformed
Creates an instance of aFormatPerformedrecord class.- Parameters:
locale- the value for thelocalerecord componentformat- the value for theformatrecord componentargs- the value for theargsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
locale
-
format
-
args
-