* @throws IOException thrown on errors writing to the stream
*/
public abstract void write(OutputStream out) throws IOException;
-
- /**
- * Copies nodes from one POIFS to the other minus the excepts
- * @param source is the source POIFS to copy from
- * @param target is the target POIFS to copy to
- * @param excepts is a list of Strings specifying what nodes NOT to copy
- *
- * @throws IOException thrown on errors writing to the target file system.
- *
- * @deprecated Use {@link EntryUtils#copyNodes(DirectoryEntry, DirectoryEntry, List)} instead
- */
- @Deprecated
- protected void copyNodes( POIFSFileSystem source, POIFSFileSystem target,
- List<String> excepts ) throws IOException {
- EntryUtils.copyNodes( source, target, excepts );
- }
-
- /**
- * Copies nodes from one POIFS to the other minus the excepts
- * @param sourceRoot is the source POIFS to copy from
- * @param targetRoot is the target POIFS to copy to
- * @param excepts is a list of Strings specifying what nodes NOT to copy
- *
- * @throws IOException thrown on errors writing to the target directory node.
- *
- * @deprecated Use {@link EntryUtils#copyNodes(DirectoryEntry, DirectoryEntry, List)} instead
- */
- @Deprecated
- protected void copyNodes( DirectoryNode sourceRoot,
- DirectoryNode targetRoot, List<String> excepts ) throws IOException
- {
- EntryUtils.copyNodes( sourceRoot, targetRoot, excepts );
- }
-
- /**
- * Copies an Entry into a target POIFS directory, recursively
- *
- * @param entry the entry to copy from
- * @param target the entry to write to
- *
- * @throws IOException thrown on errors writing to the target directory entry.
- *
- * @deprecated Use {@link EntryUtils#copyNodeRecursively(Entry, DirectoryEntry)} instead
- */
- @Internal
- @Deprecated
- protected void copyNodeRecursively( Entry entry, DirectoryEntry target )
- throws IOException
- {
- EntryUtils.copyNodeRecursively( entry, target );
- }
}