org.apache.poi.util
Class POIUtils
java.lang.Object
org.apache.poi.util.POIUtils
@Internal
public class POIUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POIUtils
public POIUtils()
copyNodeRecursively
@Internal
public static void copyNodeRecursively(Entry entry,
DirectoryEntry target)
throws java.io.IOException
- Copies an Entry into a target POIFS directory, recursively
- Throws:
java.io.IOException
copyNodes
public static void copyNodes(DirectoryEntry sourceRoot,
DirectoryEntry targetRoot,
java.util.List<java.lang.String> excepts)
throws java.io.IOException
- Copies nodes from one POIFS to the other minus the excepts
- Parameters:
source
- is the source POIFS to copy fromtarget
- is the target POIFS to copy toexcepts
- is a list of Strings specifying what nodes NOT to copy
- Throws:
java.io.IOException
copyNodes
public static void copyNodes(POIFSFileSystem source,
POIFSFileSystem target,
java.util.List<java.lang.String> excepts)
throws java.io.IOException
- Copies nodes from one POIFS to the other minus the excepts
- Parameters:
source
- is the source POIFS to copy fromtarget
- is the target POIFS to copy toexcepts
- is a list of Strings specifying what nodes NOT to copy
- Throws:
java.io.IOException
Copyright 2011 The Apache Software Foundation or
its licensors, as applicable.