Class 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.ExtensionElement
    File Too Large error extension.
    See Also:
    XEP-0363: HTTP File Upload
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ELEMENT  
      static java.lang.String NAMESPACE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        FileTooLargeError​(long maxFileSize)  
      protected FileTooLargeError​(long maxFileSize, java.lang.String namespace)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static FileTooLargeError from​(org.jivesoftware.smack.packet.IQ iq)  
      java.lang.String getElementName()  
      long getMaxFileSize()  
      java.lang.String getNamespace()  
      org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jivesoftware.smack.packet.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement

        getLanguage, getQName
    • Constructor Detail

      • FileTooLargeError

        public FileTooLargeError​(long maxFileSize)
      • FileTooLargeError

        protected FileTooLargeError​(long maxFileSize,
                                    java.lang.String namespace)
    • Method Detail

      • getMaxFileSize

        public long getMaxFileSize()
      • getElementName

        public java.lang.String getElementName()
        Specified by:
        getElementName in interface org.jivesoftware.smack.packet.NamedElement
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.FullyQualifiedElement
      • toXML

        public org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element
      • from

        public static FileTooLargeError from​(org.jivesoftware.smack.packet.IQ iq)