Record Class ArquivoXlsDownload
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.processamento.ArquivoXlsDownload
- Record Components:
nomeArquivo- nome de arquivo já saneado para uso no headerContent-Dispositionconteudo- bytes do arquivo.xlsx
-
Constructor Summary
ConstructorsConstructorDescriptionArquivoXlsDownload(String nomeArquivo, byte[] conteudo) Creates an instance of aArquivoXlsDownloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]conteudo()Returns the value of theconteudorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenomeArquivorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArquivoXlsDownload
Creates an instance of aArquivoXlsDownloadrecord class.- Parameters:
nomeArquivo- the value for thenomeArquivorecord componentconteudo- the value for theconteudorecord 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). -
nomeArquivo
Returns the value of thenomeArquivorecord component.- Returns:
- the value of the
nomeArquivorecord component
-
conteudo
-