| |
|
| java.lang.Object org.apache.poi.poifs.property.Property org.apache.poi.poifs.property.DirectoryProperty
All known Subclasses: org.apache.poi.poifs.property.RootProperty,
DirectoryProperty | public class DirectoryProperty extends Property implements Parent(Code) | | Directory property
author: Marc Johnson (mjohnson at apache dot org) |
Inner Class :public static class PropertyComparator implements Comparator | |
DirectoryProperty | public DirectoryProperty(String name)(Code) | | Default constructor
Parameters: name - the name of the directory |
DirectoryProperty | protected DirectoryProperty(int index, byte[] array, int offset)(Code) | | reader constructor
Parameters: index - index number Parameters: array - byte data Parameters: offset - offset into byte data |
addChild | public void addChild(Property property) throws IOException(Code) | | Add a new child to the collection of children
Parameters: property - the new child to be added; must not be null exception: IOException - if we already have a child with the samename |
changeName | public boolean changeName(Property property, String newName)(Code) | | Change a Property's name
Parameters: property - the Property whose name is being changed Parameters: newName - the new name for the Property true if the name change could be made, else false |
deleteChild | public boolean deleteChild(Property property)(Code) | | Delete a Property
Parameters: property - the Property being deleted true if the Property could be deleted, else false |
getChildren | public Iterator getChildren()(Code) | | Get an iterator over the children of this Parent; all elements
are instances of Property.
Iterator of children; may refer to an empty collection |
isDirectory | public boolean isDirectory()(Code) | | true if a directory type Property |
preWrite | protected void preWrite()(Code) | | Perform whatever activities need to be performed prior to
writing
|
|
|
|