Class WordPOITool


  • public class WordPOITool
    extends java.lang.Object
    Microsoft Word binary using Apache POI toolbox ZZZ experimental work in progress ZZZ
    • Constructor Summary

      Constructors 
      Constructor Description
      WordPOITool()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void generate​(java.io.OutputStream out)
      Generate to output stream
      static byte[] generateToByteArray()
      Generate to byte array
      static void generateToFile​(java.lang.String fileName)
      Generate to file
      java.lang.String generateToString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use other generate methods
      • Methods inherited from class java.lang.Object

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

      • WordPOITool

        public WordPOITool()
    • Method Detail

      • generateToString

        @Deprecated(forRemoval=true,
                    since="4.0")
        public java.lang.String generateToString()
                                          throws java.io.IOException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use other generate methods
        Throws:
        java.io.IOException
      • generateToByteArray

        public static byte[] generateToByteArray()
                                          throws java.io.IOException
        Generate to byte array
        Returns:
        Byte array
        Throws:
        java.io.IOException - If byte array generation fails
      • generateToFile

        public static void generateToFile​(java.lang.String fileName)
                                   throws java.io.IOException
        Generate to file
        Parameters:
        fileName - File name
        Throws:
        java.io.IOException - If file generation fails
      • generate

        public static void generate​(java.io.OutputStream out)
                             throws java.io.IOException
        Generate to output stream
        Parameters:
        out - Output stream
        Throws:
        java.io.IOException - If output stream generation fails