|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.poifs.filesystem.EntryUtils
@Internal public class EntryUtils
| Constructor Summary | |
|---|---|
EntryUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
areDirectoriesIdentical(DirectoryEntry dirA,
DirectoryEntry dirB)
Checks to see if the two Directories hold the same contents. |
static boolean |
areDocumentsIdentical(DocumentEntry docA,
DocumentEntry docB)
Checks to see if two Documents have the same name and the same contents. |
static void |
copyNodeRecursively(Entry entry,
DirectoryEntry target)
Copies an Entry into a target POIFS directory, recursively |
static void |
copyNodes(DirectoryEntry sourceRoot,
DirectoryEntry targetRoot)
Copies all the nodes from one POIFS Directory to another |
static void |
copyNodes(FilteringDirectoryNode filteredSource,
FilteringDirectoryNode filteredTarget)
Copies nodes from one Directory to the other minus the excepts |
static void |
copyNodes(NPOIFSFileSystem source,
NPOIFSFileSystem target)
Copies all nodes from one POIFS to the other |
static void |
copyNodes(NPOIFSFileSystem source,
NPOIFSFileSystem target,
java.util.List<java.lang.String> excepts)
Copies nodes from one POIFS to the other, minus the excepts. |
static void |
copyNodes(OPOIFSFileSystem source,
OPOIFSFileSystem target)
Copies all nodes from one POIFS to the other |
static void |
copyNodes(OPOIFSFileSystem source,
OPOIFSFileSystem target,
java.util.List<java.lang.String> excepts)
Copies nodes from one POIFS to the other, minus the excepts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntryUtils()
| Method Detail |
|---|
@Internal
public static void copyNodeRecursively(Entry entry,
DirectoryEntry target)
throws java.io.IOException
java.io.IOException
public static void copyNodes(DirectoryEntry sourceRoot,
DirectoryEntry targetRoot)
throws java.io.IOException
sourceRoot - is the source Directory to copy fromtargetRoot - is the target Directory to copy to
java.io.IOException
public static void copyNodes(FilteringDirectoryNode filteredSource,
FilteringDirectoryNode filteredTarget)
throws java.io.IOException
filteredSource - The filtering source Directory to copy fromfilteredTarget - The filtering target Directory to copy to
java.io.IOException
public static void copyNodes(OPOIFSFileSystem source,
OPOIFSFileSystem target)
throws java.io.IOException
source - is the source POIFS to copy fromtarget - is the target POIFS to copy to
java.io.IOException
public static void copyNodes(NPOIFSFileSystem source,
NPOIFSFileSystem target)
throws java.io.IOException
source - is the source POIFS to copy fromtarget - is the target POIFS to copy to
java.io.IOException
public static void copyNodes(OPOIFSFileSystem source,
OPOIFSFileSystem target,
java.util.List<java.lang.String> excepts)
throws java.io.IOException
FilteringDirectoryNode,
so excepts can be of the form "NodeToExclude" or
"FilteringDirectory/ExcludedChildNode"
source - is the source POIFS to copy fromtarget - is the target POIFS to copy toexcepts - is a list of Entry Names to be excluded from the copy
java.io.IOException
public static void copyNodes(NPOIFSFileSystem source,
NPOIFSFileSystem target,
java.util.List<java.lang.String> excepts)
throws java.io.IOException
FilteringDirectoryNode,
so excepts can be of the form "NodeToExclude" or
"FilteringDirectory/ExcludedChildNode"
source - is the source POIFS to copy fromtarget - is the target POIFS to copy toexcepts - is a list of Entry Names to be excluded from the copy
java.io.IOException
public static boolean areDirectoriesIdentical(DirectoryEntry dirA,
DirectoryEntry dirB)
FilteringDirectoryNode
public static boolean areDocumentsIdentical(DocumentEntry docA,
DocumentEntry docB)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||