org.aksw.commons.util
Class ExtendedFile

java.lang.Object
  extended by org.aksw.commons.util.ExtendedFile

public class ExtendedFile
extends Object

Another File Helper implementation juhu allows some additional read write options User: Sebastian Hellmann


Field Summary
 boolean trim
           
 
Constructor Summary
ExtendedFile(File file)
           
 
Method Summary
 List<String> readAsList()
           
 List<String> readAsListLogException()
           
 String readContent()
           
 String readContentLogException()
           
 void writeFile(String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trim

public boolean trim
Constructor Detail

ExtendedFile

public ExtendedFile(File file)
Method Detail

readContentLogException

public String readContentLogException()

readContent

public String readContent()
                   throws FileNotFoundException
Throws:
FileNotFoundException

readAsListLogException

public List<String> readAsListLogException()

readAsList

public List<String> readAsList()
                        throws FileNotFoundException
Throws:
FileNotFoundException

writeFile

public void writeFile(String content)
               throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.