Class SpaceXExample
- java.lang.Object
-
- com.cloudofficeprint.Examples.SpaceX.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)
-
-
-
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.
-
-