#56791 Remove long-deprecated OPOIFS related methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678760 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
252d7cc81a
commit
2df3bef375
@ -288,55 +288,4 @@ public abstract class POIDocument {
|
|||||||
* @throws IOException thrown on errors writing to the stream
|
* @throws IOException thrown on errors writing to the stream
|
||||||
*/
|
*/
|
||||||
public abstract void write(OutputStream out) throws IOException;
|
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 );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user