Top Description Fields Constructors Methods
org.apache.poi.poifs.dev

public Class POIFSViewEngine

extends Object
Class Inheritance
Imports
java.io.IOException, .LineNumberReader, .StringReader, java.util.ArrayList, .Iterator, .List

This class contains methods used to inspect POIFSViewable objects

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static String
indent(final int indentLevel, final String indentString, final String data)

public static List<String>

Returns:

a List of Strings holding the content
inspectViewable
(final Object
the object to be viewed
viewable
,
final boolean
if true, and the object implements POIFSViewable, inspect the objects' contents (recursively)
drilldown
,
final int
how far in to indent each string
indentLevel
,
final String
string to use for indenting
indentString
)

Inspect an object that may be viewable, and drill down if told to

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_EOLback to summary
private static final String _EOL

Constructor Detail

POIFSViewEngineback to summary
public POIFSViewEngine()

Method Detail

indentback to summary
private static String indent(final int indentLevel, final String indentString, final String data)
inspectViewableback to summary
public static List<String> inspectViewable(final Object viewable, final boolean drilldown, final int indentLevel, final String indentString)

Inspect an object that may be viewable, and drill down if told to

Parameters
viewable:Object

the object to be viewed

drilldown:boolean

if true, and the object implements POIFSViewable, inspect the objects' contents (recursively)

indentLevel:int

how far in to indent each string

indentString:String

string to use for indenting

Returns:List<String>

a List of Strings holding the content