org.apache.tomee.installer
Class Installers
java.lang.Object
org.apache.tomee.installer.Installers
public class Installers
- extends Object
- Version:
- $Rev$ $Date$
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Installers
public Installers()
readEntry
public static String readEntry(JarFile jarFile,
String name,
Alerts alerts)
replace
public static String replace(String inputText,
String begin,
String newBegin,
String end,
String newEnd)
throws IOException
- Throws:
IOException
backup
public static boolean backup(File source,
Alerts alerts)
copyFile
public static void copyFile(File source,
File destination)
throws IOException
- Throws:
IOException
writeAll
public static boolean writeAll(File file,
String text,
Alerts alerts)
writeAll
public static void writeAll(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
readAll
public static String readAll(File file,
Alerts alerts)
copy
public static void copy(File srcFile,
File destFile)
throws IOException
- Throws:
IOException
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.