public final class FileUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
extractArchive(java.io.File archiveFile,
java.io.File targetDirectory,
java.lang.String extractCommand,
Duration timeLimit,
java.util.concurrent.Executor executor) |
static java.lang.String[] |
splitCommands(java.lang.String extractCommand)
Splits the given command into an array of arguments.
|
public static void extractArchive(java.io.File archiveFile,
java.io.File targetDirectory,
java.lang.String extractCommand,
Duration timeLimit,
java.util.concurrent.Executor executor)
throws CommandFailedException
CommandFailedExceptionpublic static java.lang.String[] splitCommands(java.lang.String extractCommand)
Copyright © 2014 Red Hat. All Rights Reserved.