Package nxt
Class Attachment.TaggedDataUpload
- java.lang.Object
-
- nxt.Appendix.AbstractAppendix
-
- nxt.Attachment.AbstractAttachment
-
- nxt.Attachment.TaggedDataAttachment
-
- nxt.Attachment.TaggedDataUpload
-
- All Implemented Interfaces:
Appendix
,Appendix.Prunable
,Attachment
- Enclosing interface:
- Attachment
public static final class Attachment.TaggedDataUpload extends Attachment.TaggedDataAttachment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nxt.Appendix
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage
-
Nested classes/interfaces inherited from interface nxt.Attachment
Attachment.AbstractAttachment, Attachment.AbstractShufflingAttachment, Attachment.AccountControlEffectiveBalanceLeasing, Attachment.ColoredCoinsAskOrderCancellation, Attachment.ColoredCoinsAskOrderPlacement, Attachment.ColoredCoinsAssetDelete, Attachment.ColoredCoinsAssetIssuance, Attachment.ColoredCoinsAssetTransfer, Attachment.ColoredCoinsBidOrderCancellation, Attachment.ColoredCoinsBidOrderPlacement, Attachment.ColoredCoinsDividendPayment, Attachment.ColoredCoinsOrderCancellation, Attachment.ColoredCoinsOrderPlacement, Attachment.DigitalGoodsDelisting, Attachment.DigitalGoodsDelivery, Attachment.DigitalGoodsFeedback, Attachment.DigitalGoodsListing, Attachment.DigitalGoodsPriceChange, Attachment.DigitalGoodsPurchase, Attachment.DigitalGoodsQuantityChange, Attachment.DigitalGoodsRefund, Attachment.EmptyAttachment, Attachment.MessagingAccountInfo, Attachment.MessagingAccountProperty, Attachment.MessagingAccountPropertyDelete, Attachment.MessagingAliasAssignment, Attachment.MessagingAliasBuy, Attachment.MessagingAliasDelete, Attachment.MessagingAliasSell, Attachment.MessagingPhasingVoteCasting, Attachment.MessagingPollCreation, Attachment.MessagingVoteCasting, Attachment.MonetarySystemAttachment, Attachment.MonetarySystemCurrencyDeletion, Attachment.MonetarySystemCurrencyIssuance, Attachment.MonetarySystemCurrencyMinting, Attachment.MonetarySystemCurrencyTransfer, Attachment.MonetarySystemExchange, Attachment.MonetarySystemExchangeBuy, Attachment.MonetarySystemExchangeSell, Attachment.MonetarySystemPublishExchangeOffer, Attachment.MonetarySystemReserveClaim, Attachment.MonetarySystemReserveIncrease, Attachment.SetPhasingOnly, Attachment.ShufflingAttachment, Attachment.ShufflingCancellation, Attachment.ShufflingCreation, Attachment.ShufflingProcessing, Attachment.ShufflingRecipients, Attachment.ShufflingRegistration, Attachment.ShufflingVerification, Attachment.TaggedDataAttachment, Attachment.TaggedDataExtend, Attachment.TaggedDataUpload, Attachment.UnencryptedDigitalGoodsDelivery
-
-
Field Summary
-
Fields inherited from interface nxt.Attachment
ARBITRARY_MESSAGE, ORDINARY_PAYMENT
-
-
Constructor Summary
Constructors Constructor Description TaggedDataUpload(java.lang.String name, java.lang.String description, java.lang.String tags, java.lang.String type, java.lang.String channel, boolean isText, java.lang.String filename, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getHash()
TransactionType
getTransactionType()
void
restorePrunableData(Transaction transaction, int blockTimestamp, int height)
-
Methods inherited from class nxt.Attachment.TaggedDataAttachment
getChannel, getData, getDescription, getFilename, getName, getTags, getType, hasPrunableData, isText
-
Methods inherited from class nxt.Attachment.AbstractAttachment
getBaselineFee, getBaselineFeeHeight, getNextFee, getNextFeeHeight
-
Methods inherited from class nxt.Appendix.AbstractAppendix
getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nxt.Appendix
getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
-
Methods inherited from interface nxt.Appendix.Prunable
shouldLoadPrunable
-
-
-
-
Constructor Detail
-
TaggedDataUpload
public TaggedDataUpload(java.lang.String name, java.lang.String description, java.lang.String tags, java.lang.String type, java.lang.String channel, boolean isText, java.lang.String filename, byte[] data) throws NxtException.NotValidException
- Throws:
NxtException.NotValidException
-
-
Method Detail
-
getTransactionType
public TransactionType getTransactionType()
-
getHash
public byte[] getHash()
- Specified by:
getHash
in interfaceAppendix.Prunable
- Overrides:
getHash
in classAttachment.TaggedDataAttachment
-
restorePrunableData
public void restorePrunableData(Transaction transaction, int blockTimestamp, int height)
-
-