com.google.code.mojo.license.util
Class FileContent
java.lang.Object
com.google.code.mojo.license.util.FileContent
public final class FileContent
- extends java.lang.Object
- Author:
- Mathieu Carbou (mathieu.carbou@gmail.com)
Constructor Summary |
FileContent(java.io.File file,
java.lang.String encoding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileContent
public FileContent(java.io.File file,
java.lang.String encoding)
resetTo
public void resetTo(int pos)
reset
public void reset()
rewind
public void rewind()
endReached
public boolean endReached()
nextLine
public java.lang.String nextLine()
getPosition
public int getPosition()
delete
public void delete(int start,
int end)
insert
public void insert(int index,
java.lang.String str)
removeDuplicatedEmptyEndLines
public void removeDuplicatedEmptyEndLines()
getContent
public java.lang.String getContent()
isUnix
public boolean isUnix()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008-2011 Mathieu Carbou. All Rights Reserved.