| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static enum | Migration.State
The tool state. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final List | |
| private static final Set | |
| private File | |
| private boolean | |
| private final Set | |
| private static final ZipShort | |
| private static final Logger | |
| private boolean | |
| private EESpecProfile | |
| private static final StringManager | |
| private File | |
| private Migration. | |
| private static final long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public EESpecProfile | |
| public boolean | Returns: true if converted occursNote this method is not to indicate that no changes were made, but that the source can be used and satisfy the selected profile. |
| private boolean | |
| private boolean | |
| private boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| public void | setEESpecProfile(EESpecProfile
the Jakarta EE specification profile profile)Set the Jakarta EE specifications that should be used. |
| public void | setEnableDefaultExcludes(boolean
true to enable the default enableDefaultExcludes)Enable the default exclusion list for the tool. |
| public void | setMatchExcludesAgainstPathName(boolean
true to match excludes against the path name instead of the file name matchExcludesAgainstPathName)Enable exclude matching against the path name. |
| public void | |
| public void | setZipInMemory(boolean
true to buffer in memory zipInMemory)Buffer all conversion operations for compressed archives in memory. |
| converted | back to summary |
|---|---|
| private boolean converted | |
| converters | back to summary |
|---|---|
| private final List<Converter> converters | |
| DEFAULT_EXCLUDES | back to summary |
|---|---|
| private static final Set<String> DEFAULT_EXCLUDES | |
| destination | back to summary |
|---|---|
| private File destination | |
| enableDefaultExcludes | back to summary |
|---|---|
| private boolean enableDefaultExcludes | |
| excludes | back to summary |
|---|---|
| private final Set<String> excludes | |
| EXTRA_FIELD_ZIP64 | back to summary |
|---|---|
| private static final ZipShort EXTRA_FIELD_ZIP64 | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| matchExcludesAgainstPathName | back to summary |
|---|---|
| private boolean matchExcludesAgainstPathName | |
| profile | back to summary |
|---|---|
| private EESpecProfile profile | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| source | back to summary |
|---|---|
| private File source | |
| state | back to summary |
|---|---|
| private Migration. | |
| ZIP64_THRESHOLD_LENGTH | back to summary |
|---|---|
| private static final long ZIP64_THRESHOLD_LENGTH | |
| zipInMemory | back to summary |
|---|---|
| private boolean zipInMemory | |
| Migration | back to summary |
|---|---|
| public Migration() Construct a new migration tool instance. | |
| addExclude | back to summary |
|---|---|
| public void addExclude(String exclude) Add specified resource exclusion.
| |
| execute | back to summary |
|---|---|
| public void execute() throws IOException Execute migration operation.
| |
| getEESpecProfile | back to summary |
|---|---|
| public EESpecProfile getEESpecProfile() Get the Jakarta EE profile being used.
| |
| hasConverted | back to summary |
|---|---|
| public boolean hasConverted() Note this method is not to indicate that no changes were made, but that the source can be used and satisfy the selected profile.
| |
| isArchive | back to summary |
|---|---|
| private boolean isArchive(String fileName) | |
| isExcluded | back to summary |
|---|---|
| private boolean isExcluded(String name) | |
| isSignatureFile | back to summary |
|---|---|
| private boolean isSignatureFile(String sourceName) | |
| migrateArchiveInMemory | back to summary |
|---|---|
| private void migrateArchiveInMemory(InputStream src, OutputStream dest) throws IOException | |
| migrateArchiveStreaming | back to summary |
|---|---|
| private void migrateArchiveStreaming(InputStream src, OutputStream dest) throws IOException | |
| migrateDirectory | back to summary |
|---|---|
| private void migrateDirectory(File src, File dest) throws IOException | |
| migrateFile | back to summary |
|---|---|
| private void migrateFile(File src, File dest) throws IOException | |
| migrateStream | back to summary |
|---|---|
| private void migrateStream(String name, InputStream src, OutputStream dest) throws IOException | |
| setDestination | back to summary |
|---|---|
| public void setDestination(File destination) Set destination file.
| |
| setEESpecProfile | back to summary |
|---|---|
| public void setEESpecProfile(EESpecProfile profile) Set the Jakarta EE specifications that should be used.
| |
| setEnableDefaultExcludes | back to summary |
|---|---|
| public void setEnableDefaultExcludes(boolean enableDefaultExcludes) Enable the default exclusion list for the tool.
| |
| setMatchExcludesAgainstPathName | back to summary |
|---|---|
| public void setMatchExcludesAgainstPathName(boolean matchExcludesAgainstPathName) Enable exclude matching against the path name.
| |
| setSource | back to summary |
|---|---|
| public void setSource(File source) Set source file.
| |
| setZipInMemory | back to summary |
|---|---|
| public void setZipInMemory(boolean zipInMemory) Buffer all conversion operations for compressed archives in memory.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | setName(String
the name to use name)Overrides org. |
| MigrationZipArchiveEntry | back to summary |
|---|---|
| pack-priv MigrationZipArchiveEntry(ZipArchiveEntry entry) throws ZipException | |
| setName | back to summary |
|---|---|
| public void setName(String name) Overrides org. Doc from org. Sets the name of the entry. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Migration. | COMPLETE
Migration complete. |
| public static final Migration. | NOT_STARTED
Migration not started yet. |
| public static final Migration. | RUNNING
Migration in progress. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Migration. | |
| public static Migration. |
| COMPLETE | back to summary |
|---|---|
| public static final Migration. Migration complete. | |
| NOT_STARTED | back to summary |
|---|---|
| public static final Migration. Migration not started yet. | |
| RUNNING | back to summary |
|---|---|
| public static final Migration. Migration in progress. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static Migration. | |
| values | back to summary |
|---|---|
| public static Migration. | |