com.google.code.maven_replacer_plugin.file
Class FileUtils

java.lang.Object
  extended by com.google.code.maven_replacer_plugin.file.FileUtils

public class FileUtils
extends Object


Constructor Summary
FileUtils()
           
 
Method Summary
 String createFullPath(String... dirsAndFilename)
           
 void ensureFolderStructureExists(String file)
           
 boolean fileNotExists(String filename)
           
 boolean isAbsolutePath(String file)
           
 String readFile(String file, String encoding)
           
 void writeToFile(String outputFile, String content, String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

fileNotExists

public boolean fileNotExists(String filename)

ensureFolderStructureExists

public void ensureFolderStructureExists(String file)

readFile

public String readFile(String file,
                       String encoding)
                throws IOException
Throws:
IOException

writeToFile

public void writeToFile(String outputFile,
                        String content,
                        String encoding)
                 throws IOException
Throws:
IOException

createFullPath

public String createFullPath(String... dirsAndFilename)

isAbsolutePath

public boolean isAbsolutePath(String file)


Copyright © 2012. All Rights Reserved.