FileDocCategorySizeDatePackage
POIFSWriterEvent.javaAPI DocApache Poi 3.0.12508Mon Jan 01 12:39:34 GMT 2007org.apache.poi.poifs.filesystem

POIFSWriterEvent

public class POIFSWriterEvent extends Object
Class POIFSWriterEvent
author
Marc Johnson (mjohnson at apache dot org)
version
%I%, %G%

Fields Summary
private DocumentOutputStream
stream
private POIFSDocumentPath
path
private String
documentName
private int
limit
Constructors Summary
POIFSWriterEvent(DocumentOutputStream stream, POIFSDocumentPath path, String documentName, int limit)
package scoped constructor

param
stream the DocumentOutputStream, freshly opened
param
path the path of the document
param
documentName the name of the document
param
limit the limit, in bytes, that can be written to the stream

        this.stream       = stream;
        this.path         = path;
        this.documentName = documentName;
        this.limit        = limit;
    
Methods Summary
public intgetLimit()

return
the limit on writing, in bytes

        return limit;
    
public java.lang.StringgetName()

return
the document's name

        return documentName;
    
public org.apache.poi.poifs.filesystem.POIFSDocumentPathgetPath()

return
the document's path

        return path;
    
public org.apache.poi.poifs.filesystem.DocumentOutputStreamgetStream()

return
the DocumentOutputStream, freshly opened

        return stream;