| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static interface |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | areDirectoriesIdentical(DirectoryEntry dirA, DirectoryEntry dirB)
Checks to see if the two Directories hold the same contents. |
| public static boolean | areDocumentsIdentical(DocumentEntry docA, DocumentEntry docB)
Compares two |
| public static void | copyNodeRecursively(Entry entry, DirectoryEntry target)
Copies an Entry into a target POIFS directory, recursively |
| public static void | copyNodes(DirectoryEntry
is the source Directory to copy from sourceRoot, DirectoryEntry is the target Directory to copy to targetRoot)Copies all the nodes from one POIFS Directory to another |
| public static void | copyNodes(POIFSFileSystem
is the source POIFS to copy from source, POIFSFileSystem is the target POIFS to copy to target)Copies all nodes from one POIFS to the other |
| public static void | copyNodes(POIFSFileSystem
is the source POIFS to copy from source, POIFSFileSystem is the target POIFS to copy to target, List<String> is a list of Entry Names to be excluded from the copy excepts)Copies nodes from one POIFS to the other, minus the excepts. |
| EntryUtils | back to summary |
|---|---|
| private EntryUtils() | |
| areDirectoriesIdentical | back to summary |
|---|---|
| public static boolean areDirectoriesIdentical(DirectoryEntry dirA, DirectoryEntry dirB) Checks to see if the two Directories hold the same contents. For this to be true ...
FilteringDirectoryNode
| |
| areDocumentsIdentical | back to summary |
|---|---|
| public static boolean areDocumentsIdentical(DocumentEntry docA, DocumentEntry docB) throws IOException Compares two (Their parent directories are not checked)
| |
| copyNodeRecursively | back to summary |
|---|---|
| public static void copyNodeRecursively(Entry entry, DirectoryEntry target) throws IOException Copies an Entry into a target POIFS directory, recursively
| |
| copyNodes | back to summary |
|---|---|
| public static void copyNodes(DirectoryEntry sourceRoot, DirectoryEntry targetRoot) throws IOException Copies all the nodes from one POIFS Directory to another
| |
| copyNodes | back to summary |
|---|---|
| public static void copyNodes(POIFSFileSystem source, POIFSFileSystem target) throws IOException Copies all nodes from one POIFS to the other
| |
| copyNodes | back to summary |
|---|---|
| public static void copyNodes(POIFSFileSystem source, POIFSFileSystem target, List<String> excepts) throws IOException Copies nodes from one POIFS to the other, minus the excepts.
This delegates the filtering work to
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final DirectoryEntry |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Map | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| private static EntryUtils. |
| dir | back to summary |
|---|---|
| pack-priv final DirectoryEntry dir | |
| DirectoryDelegate | back to summary |
|---|---|
| pack-priv DirectoryDelegate(DirectoryEntry dir) | |
| entries | back to summary |
|---|---|
| private Map | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toDelegate | back to summary |
|---|---|
| private static EntryUtils. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final DocumentEntry |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| private static boolean |
| doc | back to summary |
|---|---|
| pack-priv final DocumentEntry doc | |
| DocumentDelegate | back to summary |
|---|---|
| pack-priv DocumentDelegate(DocumentEntry doc) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isEqual | back to summary |
|---|---|
| private static boolean isEqual(DocumentInputStream i1, DocumentInputStream i2) throws IOException | |