public class Installers extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Installers.BeginEndTokenHandler |
| Constructor and Description |
|---|
Installers() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
backup(File source,
Alerts alerts) |
static void |
copy(File srcFile,
File destFile) |
static void |
copyFile(File source,
File destination) |
static String |
readAll(File file,
Alerts alerts) |
static String |
readEntry(JarFile jarFile,
String name,
Alerts alerts) |
static String |
replace(String inputText,
String begin,
String newBegin,
String end,
String newEnd) |
static boolean |
writeAll(File file,
String text,
Alerts alerts) |
static void |
writeAll(InputStream in,
OutputStream out) |
public static String replace(String inputText, String begin, String newBegin, String end, String newEnd) throws IOException
IOExceptionpublic static void copyFile(File source, File destination) throws IOException
IOExceptionpublic static void writeAll(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static void copy(File srcFile, File destFile) throws IOException
IOExceptionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.