CarrotChat v2.8.60.240131版本的 MD5 值为:2baf8b9f31830b86b5c5a85ae6b47e05
以下内容为反编译后的 Data.java 源代码,内容仅作参考
package org.jivesoftware.smackx.bytestreams.ibb.packet;
import org.jivesoftware.smack.packet.IQ;
public class Data extends IQ {
private final DataPacketExtension dataPacketExtension;
public Data(DataPacketExtension dataPacketExtension) {
super("data", "http://jabber.org/protocol/ibb");
if (dataPacketExtension != null) {
this.dataPacketExtension = dataPacketExtension;
setType(IQ.Type.set);
return;
}
throw new IllegalArgumentException("Data must not be null");
}
public DataPacketExtension getDataPacketExtension() {
return this.dataPacketExtension;
}
@Override
protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
return this.dataPacketExtension.getIQChildElementBuilder(iQChildElementXmlStringBuilder);
}
}