Class FileTooLargeError
- java.lang.Object
-
- org.jivesoftware.smackx.httpfileupload.element.FileTooLargeError
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.ExtensionElement,org.jivesoftware.smack.packet.FullyQualifiedElement,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlLangElement
- Direct Known Subclasses:
FileTooLargeError_V0_2
public class FileTooLargeError extends java.lang.Object implements org.jivesoftware.smack.packet.ExtensionElementFile Too Large error extension.- See Also:
- XEP-0363: HTTP File Upload
-
-
Constructor Summary
Constructors Modifier Constructor Description FileTooLargeError(long maxFileSize)protectedFileTooLargeError(long maxFileSize, java.lang.String namespace)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileTooLargeErrorfrom(org.jivesoftware.smack.packet.IQ iq)java.lang.StringgetElementName()longgetMaxFileSize()java.lang.StringgetNamespace()org.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaxFileSize
public long getMaxFileSize()
-
getElementName
public java.lang.String getElementName()
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.FullyQualifiedElement
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
- Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
from
public static FileTooLargeError from(org.jivesoftware.smack.packet.IQ iq)
-
-