public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
copy(File from,
File to) |
static boolean |
delete(File root,
boolean deleteRoot) |
static void |
merge(File targetIndex,
File target,
File sourceIndex,
File source) |
static List |
readIndex(File index) |
static Manifest |
readManifest(File manifestFile) |
static boolean |
rename(File from,
File to) |
static boolean |
replace(File target,
File source) |
public static Manifest readManifest(File manifestFile) throws IOException
IOException
public static boolean delete(File root, boolean deleteRoot)
public static void merge(File targetIndex, File target, File sourceIndex, File source) throws IOException
IOException
public static List readIndex(File index) throws IOException
IOException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.