From dae2c57a0974c25b42da5fc82ecafdbab8fea549 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Tue, 23 Aug 2011 16:44:06 +0000 Subject: move poi.util.POIUtils to poi.poifs.filesystem.EntryUtils git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160788 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/POIDocument.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/java/org/apache/poi/POIDocument.java') diff --git a/src/java/org/apache/poi/POIDocument.java b/src/java/org/apache/poi/POIDocument.java index f0503a1a05..e7ec12a581 100644 --- a/src/java/org/apache/poi/POIDocument.java +++ b/src/java/org/apache/poi/POIDocument.java @@ -21,11 +21,8 @@ import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; -import java.util.Iterator; import java.util.List; -import org.apache.poi.util.POIUtils; - import org.apache.poi.hpsf.DocumentSummaryInformation; import org.apache.poi.hpsf.MutablePropertySet; import org.apache.poi.hpsf.PropertySet; @@ -33,9 +30,9 @@ import org.apache.poi.hpsf.PropertySetFactory; import org.apache.poi.hpsf.SummaryInformation; import org.apache.poi.poifs.filesystem.DirectoryEntry; import org.apache.poi.poifs.filesystem.DirectoryNode; -import org.apache.poi.poifs.filesystem.DocumentEntry; import org.apache.poi.poifs.filesystem.DocumentInputStream; import org.apache.poi.poifs.filesystem.Entry; +import org.apache.poi.poifs.filesystem.EntryUtils; import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.apache.poi.util.Internal; @@ -243,7 +240,7 @@ public abstract class POIDocument { protected void copyNodes( POIFSFileSystem source, POIFSFileSystem target, List excepts ) throws IOException { - POIUtils.copyNodes( source, target, excepts ); + EntryUtils.copyNodes( source, target, excepts ); } /** @@ -256,7 +253,7 @@ public abstract class POIDocument { protected void copyNodes( DirectoryNode sourceRoot, DirectoryNode targetRoot, List excepts ) throws IOException { - POIUtils.copyNodes( sourceRoot, targetRoot, excepts ); + EntryUtils.copyNodes( sourceRoot, targetRoot, excepts ); } /** @@ -267,6 +264,6 @@ public abstract class POIDocument { protected void copyNodeRecursively( Entry entry, DirectoryEntry target ) throws IOException { - POIUtils.copyNodeRecursively( entry, target ); + EntryUtils.copyNodeRecursively( entry, target ); } } -- cgit v1.2.3