diff options
author | Sergey Vladimirov <sergey@apache.org> | 2011-08-23 16:44:06 +0000 |
---|---|---|
committer | Sergey Vladimirov <sergey@apache.org> | 2011-08-23 16:44:06 +0000 |
commit | dae2c57a0974c25b42da5fc82ecafdbab8fea549 (patch) | |
tree | 2507831eb1e6bb7fb35759a72e4b1f974eacc7aa /src/java/org/apache/poi/POIDocument.java | |
parent | 357f78f1da6a22e4934b85050b8880af7cf278fc (diff) | |
download | poi-dae2c57a0974c25b42da5fc82ecafdbab8fea549.tar.gz poi-dae2c57a0974c25b42da5fc82ecafdbab8fea549.zip |
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
Diffstat (limited to 'src/java/org/apache/poi/POIDocument.java')
-rw-r--r-- | src/java/org/apache/poi/POIDocument.java | 11 |
1 files changed, 4 insertions, 7 deletions
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<String> 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<String> 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 ); } } |