Changed the name of FileFinder to FileUtil

This commit is contained in:
Ziver Koc 2010-07-01 16:22:02 +00:00
parent a9bc9997ca
commit ce83415d1c
19 changed files with 315 additions and 59 deletions

View file

@ -10,13 +10,13 @@ import java.io.OutputStream;
*/
public class StringOutputStream extends OutputStream{
// The buffer
protected StringBuffer buffer;
protected StringBuilder buffer;
/**
* Creates an new instance of this class
*/
public StringOutputStream(){
buffer = new StringBuffer();
clear();
}
@Override
@ -34,6 +34,10 @@ public class StringOutputStream extends OutputStream{
buffer.append( new String(b, off, len) );
}
public void clear(){
buffer = new StringBuilder();
}
/**
* @return the String with the data
*/