FileDocCategorySizeDatePackage
POIFile.javaAPI DocApache Poi 3.0.12456Mon Jan 01 12:39:44 GMT 2007org.apache.poi.hpsf.basic

POIFile

public class POIFile extends Object

A POI file just for testing.

author
Rainer Klute (klute@rainer-klute.de)
since
2002-07-20
version
$Id: POIFile.java 489730 2006-12-22 19:18:16Z bayard $

Fields Summary
private String
name
private POIFSDocumentPath
path
private byte[]
bytes
Constructors Summary
Methods Summary
public byte[]getBytes()

Returns the POI file's content bytes.

return
The POI file's content bytes.

        return bytes;
    
public java.lang.StringgetName()

Returns the POI file's name.

return
The POI file's name.

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

Returns the POI file's path.

return
The POI file's path.

        return path;
    
public voidsetBytes(byte[] bytes)

Sets the POI file's content bytes.

param
bytes The POI file's content bytes.

        this.bytes = bytes;
    
public voidsetName(java.lang.String name)

Sets the POI file's name.

param
name The POI file's name.

        this.name = name;
    
public voidsetPath(org.apache.poi.poifs.filesystem.POIFSDocumentPath path)

Sets the POI file's path.

param
path The POI file's path.

        this.path = path;