From: Nick Burch Date: Mon, 11 May 2015 14:26:39 +0000 (+0000) Subject: #56791 Remove long-deprecated OPOIFS related methods X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2df3bef375db985db85d5ed6c7275e11172bca6b;p=poi.git #56791 Remove long-deprecated OPOIFS related methods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678760 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/POIDocument.java b/src/java/org/apache/poi/POIDocument.java index d591def0be..bcef600549 100644 --- a/src/java/org/apache/poi/POIDocument.java +++ b/src/java/org/apache/poi/POIDocument.java @@ -288,55 +288,4 @@ public abstract class POIDocument { * @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 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 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 ); - } }