Class SpaceXExample


  • public class SpaceXExample
    extends java.lang.Object
    This example is fully explained in the spacex_example.md file.
    • Constructor Summary

      Constructors 
      Constructor Description
      SpaceXExample()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void main​(java.lang.String APIKey, java.lang.String template)  
      java.lang.String shortenDescription​(java.lang.String description)  
      • Methods inherited from class java.lang.Object

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

      • SpaceXExample

        public SpaceXExample()
    • Method Detail

      • shortenDescription

        public java.lang.String shortenDescription​(java.lang.String description)
        Parameters:
        description - Text to shorten.
        Returns:
        Only the first phrase of the description.
      • main

        public void main​(java.lang.String APIKey,
                         java.lang.String template)
                  throws java.lang.Exception
        Parameters:
        template - Should be docx, pptx or xlsx.
        APIKey - Your APIKey.
        Throws:
        java.lang.Exception - Exceptions.