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

public Class POIFSWriterEvent

extends Object
Class Inheritance

Class POIFSWriterEvent

Field Summary

Modifier and TypeField and Description
private String
private int
private POIFSDocumentPath
private DocumentOutputStream

Constructor Summary

AccessConstructor and Description
pack-priv
POIFSWriterEvent(final DocumentOutputStream
the DocumentOutputStream, freshly opened
stream
,
final POIFSDocumentPath
the path of the document
path
,
final String
the name of the document
documentName
,
final int
the limit, in bytes, that can be written to the stream
limit
)

package scoped constructor

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the limit on writing, in bytes
getLimit
()

public String

Returns:

the document's name
getName
()

public POIFSDocumentPath

Returns:

the document's path
getPath
()

public DocumentOutputStream

Returns:

the DocumentOutputStream, freshly opened
getStream
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

documentNameback to summary
private String documentName
limitback to summary
private int limit
pathback to summary
private POIFSDocumentPath path
streamback to summary
private DocumentOutputStream stream

Constructor Detail

POIFSWriterEventback to summary
pack-priv POIFSWriterEvent(final DocumentOutputStream stream, final POIFSDocumentPath path, final String documentName, final int limit)

package scoped constructor

Parameters
stream:DocumentOutputStream

the DocumentOutputStream, freshly opened

path:POIFSDocumentPath

the path of the document

documentName:String

the name of the document

limit:int

the limit, in bytes, that can be written to the stream

Method Detail

getLimitback to summary
public int getLimit()
Returns:int

the limit on writing, in bytes

getNameback to summary
public String getName()
Returns:String

the document's name

getPathback to summary
public POIFSDocumentPath getPath()
Returns:POIFSDocumentPath

the document's path

getStreamback to summary
public DocumentOutputStream getStream()
Returns:DocumentOutputStream

the DocumentOutputStream, freshly opened