Class POIFSViewEngine

java.lang.Object
org.apache.poi.poifs.dev.POIFSViewEngine

public class POIFSViewEngine extends Object
This class contains methods used to inspect POIFSViewable objects
Author:
Marc Johnson (mjohnson at apache dot org)
  • Constructor Details

    • POIFSViewEngine

      public POIFSViewEngine()
  • Method Details

    • inspectViewable

      public static List<String> inspectViewable(Object viewable, boolean drilldown, int indentLevel, String indentString)
      Inspect an object that may be viewable, and drill down if told to
      Parameters:
      viewable - the object to be viewed
      drilldown - if true, and the object implements POIFSViewable, inspect the objects' contents (recursively)
      indentLevel - how far in to indent each string
      indentString - string to use for indenting
      Returns:
      a List of Strings holding the content