Small news.

This commit is contained in:
Christian P. MOMON 2010-02-25 14:54:07 +01:00
parent dcc878a5ef
commit 61f799d21f
4 changed files with 32 additions and 26 deletions

View file

@ -143,4 +143,36 @@ public class FilePresenter extends DomPresenter
//
return (result);
}
/*
* Xid a file without data.
*/
static public StringBuffer doXid2 (String filePathname) throws Exception
{
StringBuffer result;
FilePresenter presenter = new FilePresenter (filePathname);
result = presenter.doXid ((Data) null);
//
return (result);
}
/*
* Xid a file.
*/
static public StringBuffer doXid (String filePathname, Data datas) throws Exception
{
StringBuffer result;
FilePresenter presenter = new FilePresenter (filePathname);
result = presenter.doXid (datas);
//
return (result);
}
}

View file

@ -14,7 +14,6 @@ import org.w3c.dom.*;
public class Presenter
{
static final public char INDEX_SEPARATOR = '_';
static protected int bufferSize = 2048;
static protected org.apache.log4j.Logger logger;
static
@ -37,31 +36,6 @@ public class Presenter
}
/*
*
*/
static public int bufferSize()
{
int result;
result = bufferSize;
//
return(result);
}
/*
*
*/
static public void setBufferSize(int value)
{
if (bufferSize > 0)
{
bufferSize = value;
}
}
/*
*
*/