Class StaticContentPromise

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String content  
      protected java.io.File file  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContent()  
      java.io.File getFile()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • content

        protected java.lang.String content
      • file

        protected java.io.File file
    • Constructor Detail

      • StaticContentPromise

        public StaticContentPromise​(java.lang.String content)
      • StaticContentPromise

        public StaticContentPromise​(java.lang.String content,
                                    java.io.File file)
      • StaticContentPromise

        public StaticContentPromise​(java.io.File file)
    • Method Detail

      • getContent

        public java.lang.String getContent()
                                    throws java.lang.Exception
        Specified by:
        getContent in interface ContentPromise
        Throws:
        java.lang.Exception
      • getFile

        public java.io.File getFile()