org.apache.poi.poifs.storage
Class PropertyBlock
- java.lang.Object
-
- org.apache.poi.poifs.storage.PropertyBlock
-
- All Implemented Interfaces:
- BlockWritable
public final class PropertyBlock extends java.lang.ObjectA block of Property instances
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static BlockWritable[]createPropertyBlockArray(POIFSBigBlockSize bigBlockSize, java.util.List<Property> properties)Create an array of PropertyBlocks from an array of Property instances, creating empty Property instances to make up any shortfallvoidwriteBlocks(java.io.OutputStream stream)Write the storage to an OutputStream
-
-
-
Method Detail
-
createPropertyBlockArray
public static BlockWritable[] createPropertyBlockArray(POIFSBigBlockSize bigBlockSize, java.util.List<Property> properties)
Create an array of PropertyBlocks from an array of Property instances, creating empty Property instances to make up any shortfall- Parameters:
properties- the Property instances to be converted into PropertyBlocks, in a java List- Returns:
- the array of newly created PropertyBlock instances
-
writeBlocks
public void writeBlocks(java.io.OutputStream stream) throws java.io.IOExceptionWrite the storage to an OutputStream- Specified by:
writeBlocksin interfaceBlockWritable- Parameters:
stream- the OutputStream to which the stored data should be written- Throws:
java.io.IOException- on problems writing to the specified stream
-
-
DataMelt 3.0 © DataMelt by jWork.ORG