com.google.code.mojo.license.util
Class FileUtils
java.lang.Object
com.google.code.mojo.license.util.FileUtils
public final class FileUtils
- extends Object
Date: 16-Feb-2008
Author: Mathieu Carbou (mathieu.carbou@gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
write
public static void write(File file,
String content,
String encoding)
throws IOException
- Throws:
IOException
read
public static String read(URL location,
Map<String,String> properties)
throws IOException
- Throws:
IOException
read
public static String read(File file,
String encoding)
throws IOException
- Throws:
IOException
readFirstLines
public static String readFirstLines(File file,
int lineCount,
String encoding)
throws IOException
- Throws:
IOException
remove
public static String remove(String str,
String... chars)
copyFileToFolder
public static void copyFileToFolder(File file,
File folder)
throws IOException
- Throws:
IOException
Copyright © 2008-2011 Mathieu Carbou. All Rights Reserved.